Scott Gray
4315d31c6a
Organized imports
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928266 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 20:51:06 +00:00
Scott Gray
ee43df7ad3
The following deprecated classes, constructors or methods have been removed:
...
org.ofbiz.product.product.ProductWorker.getProduct(PageContext, String)
org.ofbiz.product.product.ProductWorker.getProduct(PageContext, String, String)
org.ofbiz.product.product.ProductWorker.getAssociatedProducts(PageContext, String, String)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928265 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 20:51:04 +00:00
Erwan de Ferrieres
1fb6664a73
Correcting french typos
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928242 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 18:09:51 +00:00
Jacques Le Roux
3e33b7c700
To be consistent with definitions in widget-form.xsd, change renderLookupField attributes names prefixed by lookup to no prefixes (eg lookupPresentation becomes presentation)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928240 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 17:50:16 +00:00
Jacques Le Roux
dd4729072e
Of course the safe navigation changes at r928171 were not enough. This completes them.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928180 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 10:33:27 +00:00
Ashish Vijaywargiya
1b28dc1b13
It may happen that the value returned from communicationEvent.note.indexOf(nameString) is -1.
...
So if this is the case then we should not do anything. The previous code was giving unexpected values in email address, lastname & firstname text box and it may create confusion for the end user.
I observed this case when: I was fetching emails from my personal account inside OFBiz using JavaMailContainer Api. And my personal email was not available in the system so the values fetched in the above mentioned field was not correct.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928176 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 09:17:14 +00:00
Jacques Le Roux
e99da6a254
Forgot the 3d case in r928166
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928171 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 08:18:43 +00:00
Jacques Le Roux
81de2641d0
Use safe navigation rather than if(value) to avoid confusion in case of value=0.
...
From Scott's advice on dev ML, after a 1st remark on style by Adam
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928166 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 08:11:35 +00:00
Hans Bakker
e237fe0ba6
if menu and portalpage options are mixed, tomahawk did not display correctly in the example component and other places as reported by Bruno in the mailing list. should work now.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928131 13f79535-47bb-0310-9956-ffa450edef68
2010-03-27 03:39:08 +00:00
Jacopo Cappellato
c79a8f4afd
Added information about max number of overlapping events in a day of a month calendar.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927888 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 14:54:10 +00:00
Jacopo Cappellato
fc8999f04b
Added ability to hide events from the month calendar to only display aggregate data in each day.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927881 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 14:47:28 +00:00
Jacques Le Roux
ad2a20a520
Fix a NPE I got on actualCurrencyAmount while working with R9.04.
...
Since the files are identical I commit in trunk and will backport
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927870 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 14:34:02 +00:00
Ashish Vijaywargiya
94324e76a6
CreateCustomerRequest from CommunicationEvent was broken.
...
Fixed the same.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927843 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 13:35:48 +00:00
Ashish Vijaywargiya
196572c9e4
CommonMyCommunicationEventDecorator is first added and then removed in previous commits. Removing its reference as it was breaking the screens in MyPortal section.
...
https://localhost:8443/myportal/control/ViewCommunicationEvent
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927790 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 12:14:53 +00:00
Jacopo Cappellato
e8fc9c41ae
Implemented new method to group a set of events by date ranges:
...
if event #1 starts at date A and ends at date C and event #2 starts at date B and ends at date D then the metod will return the following maps:
A-B: event #1
B-C: events #1 and #2
C-D: event #2
This is useful for example to get statistics about calendar events, for example the max number of concurrent events or the max number of persons allocated in the same time; I have added the latter to the month view as an example of its usage.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927783 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 11:57:41 +00:00
Ashish Vijaywargiya
8f83bfeda0
The screen was broken for CommunicationEventOrder.
...
The order was not associating with communication event when the new communication event was generating in system for different mail notifications(like OrderConfirmation, OrderComplete, ShipmentComplete etc.)
Now after this commit it will work without any issues.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927758 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 10:25:08 +00:00
Ashish Vijaywargiya
4c1c53522c
Applied patch from jira issue OFBIZ-3552 - Initial Inventory Item Status is saved wrong in case of non-serialized inventory and when reason of return is "Defective Item", at the the time of receiving returns.
...
Problem Description:
1) When returns are received and reason of return is "Defective Item" ,whether inventoryItemType is serialized or non-serialized, Initial Inventory Item Status is always saved as "INV_DEFECTIVE"
2) This should not be the case, value of Initial Inventory Item Status should be dependent on inventoryItemType.
3) i. e In Receive Return screen , when user selects inventoryItemType value of Initial Inventory Item Status should be changed dynamically .
4) So when inventoryItemType is non-serialized then value of Initial Inventory Item Status should be INV_NS_DEFECTIVE and if inventoryItemType is serialized value of value of Initial Inventory Item Status should be INV_DEFECTIVE.
5) This is a real bug, which causes ATP inventory figures wrong when sales order is placed. This is so because when sales order is placed, defective inventory items are assigned to sales order.
6) Reason of #5 is when inventory reservations are done in case of non-serialized inventory, In reserveForInventoryItemInline simple-method of InventoryReserveServices.xml , checks are made on value of inventoryItem.statusId = "INV_NS_DEFECTIVE".
And as described in #1 , Initial Inventory Item Status is always saved as "INV_DEFECTIVE". So this checks never gets satisfied.
Thanks Divesh & Pranay for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927744 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 09:28:49 +00:00
Ashish Vijaywargiya
2127f39c02
Corrected the condition.
...
Thanks Arun!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927739 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 09:04:06 +00:00
Erwan de Ferrieres
e1b55fec4e
Typo in file name, forms weren't rendered
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927471 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 16:17:34 +00:00
Ashish Vijaywargiya
e662d796ed
-- Changed the uiLabelMap of section available on Communication Event tab. As the old doesn't seem good. Actually all the communication event shown on this page are not child communication events. So changed title to "Others and General Communication Events"
...
-- Improved condition for showing communication events on this block. Added another check so that completed communication event should not be shown. If you wanted to see all the completed communication event then go to the main communication event and find communications from there. Also think if we have thousands of record than previous condition will create problem in page loading.
-- Formating changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927403 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 13:53:35 +00:00
Jacopo Cappellato
d9bf5b2c5b
Added missing type attributes to set operations: they were causing the service to fail.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927326 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 10:11:16 +00:00
Ashish Vijaywargiya
87ce525944
Based on Scott's comment reverting my previous commit done at r927276 also improving condition in this commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927306 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 08:45:47 +00:00
Ashish Vijaywargiya
682628d520
The code was not working if you set flag on ProductStore for Requirement enum id.
...
I have put conditional check so that it will first check in product store and then in product for the existence of requirementEnumId if found then it will run the code in if block. Conditional if existed in past is transferred into else block.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927276 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 05:47:33 +00:00
Ashish Vijaywargiya
f323ee4dc3
Fixed two issues:
...
1) Wrong variable name used. "surveyResponse" should be used instead of "lookupRespMap".
2) Service should allow to update survey response when allowMultiple is set to "N" and allowUpdate="Y". Fixed this issue.
Thanks Arun!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927049 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 13:23:53 +00:00
Jacopo Cappellato
407f17ad61
Reimplemented "inventory valuation" report (that was buggy) and its csv and pdf variants: the new version is now based on the new LIFO and FIFO costing methods and it is more efficient because it is based on a single view-entity (that I have extended in order to be used in the new report).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927014 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 11:28:17 +00:00
Jacopo Cappellato
4319fb7664
Formatting fix.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927013 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 11:23:57 +00:00
Jacopo Cappellato
bb38a76271
Added newly added accountingQuantityTotal field to the "edit inventory item" form: it is read only because it is automatically computed based on inv item details; the field is used for LIFO and FIFO
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927012 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 11:23:22 +00:00
Jacopo Cappellato
1822ba4431
More enhancements in the LIFO/FIFO implementation: now I have re-enabled the original "average cost" costing method (that was, and is, only partially implemented btw); I have also added a "new" costing method based on real inventory item unit costs: this was actually the only method (implicitly) supported before the implementation of LIFO and FIFO.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927011 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 11:20:53 +00:00
Ashish Vijaywargiya
2648960de8
sendQuoteReportMail service was giving console error for missing subject & messagewrapper.
...
Fixed the same issue.
Here is the console log for reference:
2010-03-24 10:01:18,146 (http-0.0.0.0-8443-4) [ ServiceDispatcher.java:601:INFO ] Sync service [order/sendMailMultiPart] finished in [8814] milliseconds
2010-03-24 10:01:18,146 (http-0.0.0.0-8443-4) [ ServiceDispatcher.java:601:INFO ] Sync service [order/sendMailFromScreen] finished in [9236] milliseconds
2010-03-24 10:01:18,146 (http-0.0.0.0-8443-4) [ ModelService.java:564:ERROR] [ModelService.validate] : {sendQuoteReportMail} : (OUT) Required test error: org.ofbiz.service.ServiceValidationException: Unknown parameter found: [sendQuoteReportMail.messageWrapper]Unknown parameter found: [sendQuoteReportMail.subject]
2010-03-24 10:01:18,147 (http-0.0.0.0-8443-4) [ ServiceDispatcher.java:495:ERROR]
---- exception report ----------------------------------------------------------
Outgoing result (in runSync : sendQuoteReportMail) does not match expected requirements
Exception: org.ofbiz.service.ServiceValidationException
Message: Unknown parameter found: [sendQuoteReportMail.messageWrapper]Unknown parameter found: [sendQuoteReportMail.subject]
---- stack trace ---------------------------------------------------------------
org.ofbiz.service.ServiceValidationException: Unknown parameter found: [sendQuoteReportMail.messageWrapper]Unknown parameter found: [sendQuoteReportMail.subject]
org.ofbiz.service.ModelService.validate(ModelService.java:648)
org.ofbiz.service.ModelService.validate(ModelService.java:562)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:493)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:226)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:160)
org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:336)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:637)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:383)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:224)
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:266)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------
2010-03-24 10:01:18,148 (http-0.0.0.0-8443-4) [ ServiceDispatcher.java:516:INFO ] [[Sync service failed...- total:0.0,since last(Begin):0.0]] - 'order / sendQuoteReportMail'
2010-03-24 10:01:18,148 (http-0.0.0.0-8443-4) [ ServiceDispatcher.java:519:ERROR]
---- exception report ----------------------------------------------------------
Service [sendQuoteReportMail] threw an unexpected exception/error
Exception: org.ofbiz.service.ServiceValidationException
Message: Unknown parameter found: [sendQuoteReportMail.messageWrapper]Unknown parameter found: [sendQuoteReportMail.subject]
---- stack trace ---------------------------------------------------------------
org.ofbiz.service.ServiceValidationException: Unknown parameter found: [sendQuoteReportMail.messageWrapper]Unknown parameter found: [sendQuoteReportMail.subject]
org.ofbiz.service.ModelService.validate(ModelService.java:648)
org.ofbiz.service.ModelService.validate(ModelService.java:562)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:493)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:226)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:160)
org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:336)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:637)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:383)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:224)
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:266)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------
2010-03-24 10:01:18,148 (http-0.0.0.0-8443-4) [ TransactionUtil.java:329:ERROR]
---- exception report ----------------------------------------------------------
[TransactionUtil.rollback]
Exception: java.lang.Exception
Message: Stack Trace
---- stack trace ---------------------------------------------------------------
java.lang.Exception: Stack Trace
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:328)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:310)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:526)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:226)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:160)
org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:336)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:637)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:383)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:224)
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:266)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------
2010-03-24 10:01:18,153 (http-0.0.0.0-8443-4) [ TransactionUtil.java:339:INFO ] [TransactionUtil.rollback] transaction rolled back
2010-03-24 10:01:18,153 (http-0.0.0.0-8443-4) [ TransactionUtil.java:269:WARN ] [TransactionUtil.commit] Not committing transaction, status is No Transaction (6)
2010-03-24 10:01:18,153 (http-0.0.0.0-8443-4) [ RequestHandler.java:638:INFO ] Ran Event [service:#sendQuoteReportMail] from [request], result is [error]
2010-03-24 10:01:18,169 (http-0.0.0.0-8443-4) [ SequenceUtil.java:336:INFO ] Got bank of sequenced IDs for [ServerHitBin]; curSeqId=10320, maxSeqId=10330, bankSize=10
2010-03-24 10:01:18,259 (http-0.0.0.0-8443-4) [ RequestHandler.java:424:ERROR] Request sendQuoteReportMail caused an error with the following message: {Unknown parameter found: [sendQuoteReportMail.messageWrapper], Unknown parameter found: [sendQuoteReportMail.subject]}
2010-03-24 10:01:18,259 (http-0.0.0.0-8443-4) [ RequestHandler.java:742:INFO ] Rendering View [EditQuoteReportMail],
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926936 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 05:07:53 +00:00
Hans Bakker
20b247d4ef
show the correct portalpage name in party
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926925 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 03:24:35 +00:00
Hans Bakker
92e4601342
show portal page names correctly in tomahawk theme
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926908 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 02:59:07 +00:00
Scott Gray
5f29c1e85d
Improve some List null/size checking
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926858 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 23:39:25 +00:00
Scott Gray
7f9141fb44
allCategories can't be null here
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926857 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 23:39:20 +00:00
Scott Gray
54616b2b9c
Simplify some list manipulation
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926856 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 23:39:13 +00:00
Scott Gray
0701297568
Remove unused variable assignments
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926855 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 23:39:07 +00:00
Scott Gray
2ac843b612
Remove unnecessary null assignments
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926854 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 23:39:01 +00:00
Scott Gray
2e3907b2d6
The following deprecated classes, constructors or methods have been removed:
...
org.ofbiz.product.category.CategoryWorker.getCatalogTopCategory(PageContext, String)
- Use CategoryWorker.getCatalogTopCategory(ServletRequest, String) instead
org.ofbiz.product.category.CategoryWorker.getCategoriesWithNoParent(PageContext, String)
- Use CategoryWorker.getCategoriesWithNoParent(ServletRequest, String) instead
org.ofbiz.product.category.CategoryWorker.getRelatedCategories(PageContext, String, boolean)
- Use CategoryWorker.getRelatedCategories(ServletRequest, String, boolean) instead
org.ofbiz.product.category.CategoryWorker.getRelatedCategories(PageContext, String, String, boolean)
- Use CategoryWorker.getRelatedCategories(ServletRequest, String, String, boolean) instead
org.ofbiz.product.category.CategoryWorker.getRelatedCategoriesRet(PageContext, String, String, boolean)
- Use CategoryWorker.getRelatedCategoriesRet(ServletRequest, String, String, boolean) instead
org.ofbiz.product.category.CategoryWorker.setTrail(PageContext, String)
- Use CategoryWorker.setTrail(ServletRequest, String) instead
org.ofbiz.product.category.CategoryWorker.getTrail(PageContext)
- Use CategoryWorker.getTrail(ServletRequest) instead
org.ofbiz.product.category.CategoryWorker.setTrail(PageContext, List<String>)
- Use CategoryWorker.setTrail(ServletRequest, List<String>) instead
org.ofbiz.product.category.CategoryWorker.checkTrailItem(PageContext, String)
- Use CategoryWorker.checkTrailItem(ServletRequest, String) instead
org.ofbiz.product.category.CategoryWorker.lastTrailItem(PageContext)
- Use CategoryWorker.lastTrailItem(ServletRequest) instead
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926853 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 23:38:55 +00:00
Scott Gray
d51b9d0547
The following deprecated classes, constructors or methods have been removed:
...
org.ofbiz.workeffort.project.ProjectWorker containing the following methods:
getAssignedProjects(PageContext, String)
getAllAssignedProjects(PageContext, String)
getAllProjectPhases(PageContext, String)
getAllPhaseTasks(PageContext, String)
getTaskNotes(PageContext, String)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926852 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 23:38:43 +00:00
Jacopo Cappellato
e177f478d1
Fixed invalid value for the "type" attribute of a set operation.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926767 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 20:42:42 +00:00
Scott Gray
edd1849adb
Have the cms event use the current request's overrideViewUri (_CURRENT_CHAIN_VIEW_) if present instead of request.getPathInfo(), this allows you to go through a chain of requests before pushing back into cms.
...
So you can now have a request response push back to cms with something like this:
<response name="success" type="request" value="cms/contentId/mapKey"/>
basically anything that would have worked in the URL will work here, except for relying on the default-request mapping which chained requests ignore, so you have to prefix with cms/ (or whatever your cms uri is)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926418 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 00:47:51 +00:00
Scott Gray
11576a1b0f
Add some more cache usage when verifying the content to be rendered.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926390 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 23:11:24 +00:00
Scott Gray
4219c2781f
Use String.valueOf(int) instead of "" + int
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926387 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 23:11:15 +00:00
Bruno Busco
b0069a29ab
Added a new "Show Content" Portlet.
...
This allows to show a content element in a portalPage.
A further improvement of this portlet will be to allow a content element list to be shown given the element's father.
Having the application's main page replaced with a portalPage will allow the user to edit this page using the CMS.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926340 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 21:16:45 +00:00
Jacques Le Roux
63039ca952
A patch from Luís Alfredo Harriss Maranesi "Brazilian Portuguese Translation for Order" ( https://issues.apache.org/jira/browse/OFBIZ-3573 ) - OFBIZ-3573
...
I checked: any duplicates, one small error. I'm not able to check the content though, but I suppose it's right.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926296 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 20:03:27 +00:00
Scott Gray
29c75f6fe2
Rename hasContent variable to hadContent which better reflects what it actually means.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926201 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 17:15:16 +00:00
Scott Gray
53e42796c0
Remove pathInfo.indexOf(/) and just do the split regardless, the end result is the same.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926200 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 17:15:12 +00:00
Scott Gray
6d6699a458
Remove unnecessary null and length check after a string.split(String) call that always returns at least an array of length 1
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926199 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 17:15:07 +00:00
Scott Gray
3008619787
Use the cache when looking for a default content record
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926198 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 17:15:02 +00:00
Scott Gray
f33c311218
Fix null checks, pathInfo may be null but pathParsed won't be.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926197 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 17:14:58 +00:00
Scott Gray
7703b69d73
Remove some commented code, keeping it around serves no purpose.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926176 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 16:45:51 +00:00