Commit Graph
21879 Commits
Author SHA1 Message Date
Jacopo Cappellato a0c043a64d Updated ant target to use the new commons-codec jar.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1672427 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 17:18:36 +00:00
Jacques Le Roux 1e9549818f Fixes a bug reported by Wai at https://issues.apache.org/jira/browse/OFBIZ-6234 "catalog main page show freemarker exception"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1672252 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 07:40:15 +00:00
Jacques Le Roux 1788b6a224 Removes useless sentences according to Scott, after Adrian suggested to remove the HTML references.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1672081 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 12:50:15 +00:00
Jacques Le Roux 5f0ea0a387 Completes r1671519 for https://issues.apache.org/jira/browse/OFBIZ-6232 "Adds HTML tabindex into widget form fields"
There was still an issue when rendering renderLookupField from FTL templates

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1671847 13f79535-47bb-0310-9956-ffa450edef68
2015-04-07 13:49:53 +00:00
Jacques Le Roux e5066b2ce5 No functional changes, just a bit of refactoring/cleaning
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1671758 13f79535-47bb-0310-9956-ffa450edef68
2015-04-07 08:21:49 +00:00
Jacques Le Roux eb67d60fc3 Completes r1671519 for https://issues.apache.org/jira/browse/OFBIZ-6232 "Adds HTML tabindex into widget form fields"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1671756 13f79535-47bb-0310-9956-ffa450edef68
2015-04-07 08:20:39 +00:00
Jacques Le Roux fc90936482 Forgot to commit these changes at r1671519, I will complete the rest later today...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1671524 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 12:24:06 +00:00
Jacques Le Roux f903bdc355 Fixes a bug related to renderDateTimeField reported by Adrian's aon dev ML (when used from FTL templates)
Fixes also a bug related to renderLookupField when used from FTL templates with lookupField macro

I also spotted a number of other misc. trivial tabindex missing in other *FormMacroLibrary.ftl which should have not (or minor) effects on rendering. I will fix them later today...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1671519 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 12:11:18 +00:00
Jacques Le Roux 8e0222e137 Adds HTML tabindex into widget form fields. It allows to set the tab order of elements (when the "tab" button is used for navigating). For instance by column when columns are used with the position attribute.
Normally it's implemented for all concerned fields.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1671500 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 09:34:54 +00:00
Jacques Le Roux 3a047fadda Mark this feature as deprecated, due to OFBIZ-6228
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1670999 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 06:43:26 +00:00
Nicolas Malin d445d74d19 Apply patch OFBIZ-6209 Error when call updateNote service report by Supachai Chaima-ngua
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1670952 13f79535-47bb-0310-9956-ffa450edef68
2015-04-02 19:04:49 +00:00
Deepak Dixit 6f30b5de01 Fixed NPE while rendering content using screen widget, if content.dataResouceId is null then ModelScreenWidget throwing NPW.
Applied patch from jira issue OFBIZ-6219

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1669588 13f79535-47bb-0310-9956-ffa450edef68
2015-03-27 13:44:45 +00:00
Adrian Crum f315f0d5be Fix warnings in trunk in Java source code - https://issues.apache.org/jira/browse/OFBIZ-6217.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1669537 13f79535-47bb-0310-9956-ffa450edef68
2015-03-27 10:04:14 +00:00
Deepak Dixit 314642ee1f OFBIZ-2146: Found issue in ShoppingCart.getDisplaySubTotal() method, its throwing stack overflow error, Ideally this code changes should belongs to ShoppingCart.getDisplayGrandTotal().
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1669317 13f79535-47bb-0310-9956-ffa450edef68
2015-03-26 11:05:41 +00:00
Jacopo Cappellato 476041284f Added missing licence header: thanks to Pierre Smits for the report and for providing the patch (OFBIZ-6194).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1668660 13f79535-47bb-0310-9956-ffa450edef68
2015-03-23 15:00:02 +00:00
Jacopo Cappellato da98976ab0 Fixed code to prevent that two or more threads at startup run the same startup services (defined in serviceengine.xml using the startup-service element) more than once.
This will also prevent a deadlock condition (similar to the one fixed with rev. 1655046) that could occur at bootstrap under certain conditions and unlucky timing.
Thanks to Deepak Dixit and Ravi Lodhi for the report, tests and feedback.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1668657 13f79535-47bb-0310-9956-ffa450edef68
2015-03-23 14:46:46 +00:00
Adrian Crum f5a0e74f27 Added comments for cache settings. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1668351 13f79535-47bb-0310-9956-ffa450edef68
2015-03-22 10:27:58 +00:00
Jacques Le Roux 9c7761c664 A patch from Gil Portenseigne for "Setting the reservation of persons on a routing task isn't reflected in the overview of routing tasks" https://issues.apache.org/jira/browse/OFBIZ-4897 reported by Pierre Smits
In this patch i add a control on reservPersons and add it to the entry map of updateWorkEffort services.
Being zealous, i'm adding specific labels, existing one where not good for the field they were checking.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1668314 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 20:23:22 +00:00
Mridul Pathak 2039c38897 [OFBIZ-5588] Error while pressing F9 (change quantity) in webpos. Thanks Hoan Dang Van for reporting the issue and pointing towards the possible solution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1668279 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 14:50:53 +00:00
Deepak Dixit dd702d6d98 OFBIZ-6070: Fixed error while creating the ProductContent. Added check to avoid foreign key constraints.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1668277 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 14:33:15 +00:00
Deepak Dixit cfe556a10d Applied patch from jira issue OFBIZ-6200 - Order Adjustment details are hidden on order Item section of order entry page.
Thanks  Arun Patidar for reporting the issue and thanks Yashwant for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1668270 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 13:54:01 +00:00
Adrian Crum 0f2db40ee3 Initial commit of the fix for the dirty cache reads problem - https://issues.apache.org/jira/browse/OFBIZ-5534.
This fixes the PK cache only, the other caches will be fixed after this commit is reviewed.

I didn't include a unit test because Derby deadlocks while testing for this. Actually, the deadlock proves the problem is fixed. I will continue trying to find a way to provide a unit test.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1668267 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 13:44:55 +00:00
Deepak Dixit c4fab1c046 Applied patch from jira issue OFBIZ-5295 - Anonymous Quick Checkout: No Payment Method Information shown in Order Confirmation
Thanks  Sebastian Wachinger for reporting the issue and thanks Yashwant for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1668265 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 13:43:07 +00:00
Deepak Dixit e8ba39e389 Applied patch from jira issue OFBIZ-6201 - Error in Create New Account process of SFA
Thanks Arun Patidar for reporting the issue and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1668263 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 13:13:56 +00:00
Adrian Crum 755ee6ae6f Oops, I forgot to include unit tests in my last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1668261 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 12:51:34 +00:00
Deepak Dixit 7f1202f638 Applied patch from jira issue OFBIZ-6095 - Promo action party lookup dropdown throws error
Thanks Christian Carlow for reporting the issue, thanks Arun Patidar for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1668258 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 12:47:18 +00:00
Adrian Crum f20303d0e3 Some work on GenericEntity and its subclasses: Enforce GenericPK != GenericEntity and GenericValue != GenericEntity.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1668257 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 12:36:44 +00:00
Deepak Dixit d89fe70285 Applied patch from jira issue OFBIZ-4020 - Sign up for a contact list always redirects to the main ecommerce page
Thanks  Eric for reporting the issue, thanks Eric and Arun Patidar for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1668246 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 11:52:23 +00:00
Deepak Dixit bdba71d230 OFBIZ-6183: Update ComponentConfig code to allow empty mount point, as if need to mount website on root then mount-point should be "" instead of "/".
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1668236 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 11:14:55 +00:00
Adrian Crum 6dd1483da2 Some small optimizations in the entity engine - don't repeatedly build things that don't change over time.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1668232 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 10:47:49 +00:00
Deepak Dixit 5f97ca3a46 Applied patch from jira issue - OFBIZ-2146 -Quote to order - manual adjustments amount not included in cart grand total.
Thanks Raj Saini for reporting the issue and thanks Bilgin Ibryam and Arun Patidar for providing the patch for the same.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1668214 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 09:41:37 +00:00
Deepak Dixit 32d0a8f963 Applied patch from jira issue - OFBIZ-6186 -ShipmentPlanStockReport.groovv error due to call to runService misspelling
Thanks  Christian Carlow for reporting the issue and thanks for providing the patch for the same.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1668207 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 08:40:56 +00:00
Jacopo Cappellato 86012b7e0c Removed appserver component from the Eclipse config file because it has been recently removed from OFBiz.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1668205 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 07:58:46 +00:00
Ashish Vijaywargiya 1abcc52b48 Applied patch from jira issue - OFBIZ-6199 - Find Commission Run screen is broken.
Thanks Amardeep for reporting the issue and thanks for providing the patch for the same.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1668201 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 07:39:55 +00:00
Deepak Dixit b927941c0f OFBIZ-6195: Removed appserver entry from build.xml file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1668194 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 04:55:27 +00:00
Jacques Le Roux 39c362e60f Move appserver component to Attic https://issues.apache.org/jira/browse/OFBIZ-6195
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1668192 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 04:01:29 +00:00
Jacques Le Roux 6c650d849a A patch from Pierre Smits for "Adding GeoPoints overview to geo management" https://issues.apache.org/jira/browse/OFBIZ-6148
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1667969 13f79535-47bb-0310-9956-ffa450edef68
2015-03-20 09:48:24 +00:00
Jacques Le Roux 4e2d290f69 Fixes <<You can't rely on Lookup field description-field-name attribute in a form having skip-start="true">> https://issues.apache.org/jira/browse/OFBIZ-6170
Instead of adding a form-name attribute only in lookup sub-element, I added it a the field level and removed the one at the lookup level.So the form-name field attribute can be used in the field of both the lookup and if needed the field set in the lookup description-field-name attribute. I only tested it in a version more near 13.07 but I believe it's ok here

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1667774 13f79535-47bb-0310-9956-ffa450edef68
2015-03-19 14:38:37 +00:00
Deepak Dixit 4ae74fa8a9 OFBIZ-6183: Fixed String index out of range exception if webapp mounted on "".
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1667733 13f79535-47bb-0310-9956-ffa450edef68
2015-03-19 12:55:28 +00:00
Jacques Le Roux 70410138ca Fixes "Removes ASL2 license headers from files generated by create-component ant target" https://issues.apache.org/jira/browse/OFBIZ-6176
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1667683 13f79535-47bb-0310-9956-ffa450edef68
2015-03-19 09:40:09 +00:00
Deepak Dixit 14405eb569 Fixed OrderItemBilling cache warning, never-cache is set to true for OrderItemBilling, hence it will never put in cache. Set cache false while fetching the order item billing record in OrderReadHelper.getOrderPaymentReceivedTotalByType method.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1667495 13f79535-47bb-0310-9956-ffa450edef68
2015-03-18 11:01:25 +00:00
Adrian Crum 9158c3af82 Fixed a bug in screenlet widget: If there is no Screenlet's preferenceKey in requestParameters, the initially-collapsed always be false. https://issues.apache.org/jira/browse/OFBIZ-6172
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1667492 13f79535-47bb-0310-9956-ffa450edef68
2015-03-18 10:53:48 +00:00
Deepak Dixit fcbf5ce772 Moved parentCustRequestId relationship for CustRequest entity from order/entitymodel.xml to scrum/entitymodel.xml, as parentCustRequestId defined in scrum component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1667483 13f79535-47bb-0310-9956-ffa450edef68
2015-03-18 10:33:39 +00:00
Jacopo Cappellato b387dcb2b4 Upgraded Tomcat from 7.0.57 to the latest bug fix release 7.0.59.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1667253 13f79535-47bb-0310-9956-ffa450edef68
2015-03-17 10:52:34 +00:00
Jacopo Cappellato 38017100b3 Upgraded the following commons jars:
- codec from 1.6 to 1.10
- validator from 1.4.0 to 1.4.1
- logging from 1.1.2 to 1.2
- net from 3.1 to 3.3
- csv from 1.0 to 1.1
Resolves OFBIZ-6157, OFBIZ-6158, OFBIZ-6159, OFBIZ-6160, OFBIZ-6161



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1667055 13f79535-47bb-0310-9956-ffa450edef68
2015-03-16 16:17:49 +00:00
Jacopo Cappellato 0db5888047 OFBIZ-6156: Upgraded commons-pool2 from 2.2 to.2.3 and commons-dbcp2 from 2.0.1 to 2.1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1666958 13f79535-47bb-0310-9956-ffa450edef68
2015-03-16 10:58:26 +00:00
Jacopo Cappellato f69e599355 Upgrade to latest bug fix release of Freemarker: 2.3.22
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1666949 13f79535-47bb-0310-9956-ffa450edef68
2015-03-16 10:31:13 +00:00
Jacopo Cappellato 68723a2130 Upgrade to latest release of Log4j
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1666939 13f79535-47bb-0310-9956-ffa450edef68
2015-03-16 09:20:14 +00:00
Jacques Le Roux 0da6d57555 A patch from Christian Carlow for "returnItems.ftl freemarker null error when returnPrice or returnQuantity is null" https://issues.apache.org/jira/browse/OFBIZ-6142
Error:
FreeMarker template error: The following has evaluated to null or missing: ==> null [in template "component://order/webapp/ordermgr/return/returnItems.ftl" at line 155, column 48]
To reproduce just update the quantity or price of a return item to blank.

Fix:
Prevents Freemarker errors from appearing in the quantity and price input fields when they are set to blank. Perhaps logic should be implemented to prevent the fields from being updated to blank but as of right now its allowed which cause the errors to appear which make the screen look very messy. This patch basically cleans up the screen if either of those scenarios occur.
Prevents OrderView.groovy getReturnableItems error which prevents page from displaying when returnQuantity gets set to blank due to getReturnableQuantity in OrderReturnServices.java.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1666836 13f79535-47bb-0310-9956-ffa450edef68
2015-03-15 20:09:23 +00:00
Jacques Le Roux a7e97a9abd Patches from Taher Alkhateeb for "party id cannot be specified through GUI while creating a Party (Person or Party Group)" https://issues.apache.org/jira/browse/OFBIZ-3480 reported by Babu Sreekanth
1. While creating an organization, it is possible to specify a meaningful party id through ofbiz setup.
2. But, it is NOT possible to specify the party id through GUI while creating a Party (Person or Party Group). this means, all the parties created get a sequence id for party id.


If the user inputs a party ID to any of the party creation screens (person, party group, customer, employee or prospect) then that ID will be used, otherwise it will pull a party ID from the sequence bank






git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1666794 13f79535-47bb-0310-9956-ffa450edef68
2015-03-15 12:02:41 +00:00