Commit Graph
19671 Commits
Author SHA1 Message Date
Adrian Crum 2d651e0f6d Changed some information-only logging from WARN to INFO.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1464001 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 13:29:44 +00:00
Jacopo Cappellato 400d48ab4c OFBIZ-5167 Applied patch from Leon to fix a wrong array index that was causing the proliferation of subfolders in the runtime/uploads directory.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1463989 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 12:59:10 +00:00
Jacopo Cappellato 054869942f Split the LICENSE file into two files, one in the specialpurpose folder and specific to the components in it: in this way it will be easier to maintain and release specialpurpose components separately.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1463892 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 09:31:41 +00:00
Jacopo Cappellato 7cc03f767b Removed unused lib folder from the marketing component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1463886 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 09:01:09 +00:00
Jacopo Cappellato e66239876f Small improvements to error log messages.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1463885 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 08:56:31 +00:00
Jacopo Cappellato 45fef2694a Fixed path to jar files of the oagis component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1463879 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 08:37:17 +00:00
Jacopo Cappellato bc06121111 Removed the path prefix ofbiz/trunk from all the jar entries in the LICENSE file: the LICENSE file is actually required for releases and in this way (by specifying relative paths) it is more generic and will work both for trunk and releases.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1463875 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 08:32:24 +00:00
Adrian Crum fa4e931206 Log message cleanup in ServiceDispatcher.java. Removed confusing text about services taking too long.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1463863 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 07:57:24 +00:00
Adrian Crum 24f64fe28b Log message cleanup in ModelReader.java.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1463859 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 07:55:02 +00:00
Adrian Crum 19e3b14945 Fixed bug in BaseUnitTests.java where the original debugging levels were not restored.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1463856 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 07:53:11 +00:00
Jacques Le Roux 7c323b902d A refactored patch from Leon for "Bug introduced by OFBIZ-4769, it makes <entity-one> failed if the context contains incorrect data" https://issues.apache.org/jira/browse/OFBIZ-5148
How to reproduce:
1. open "https://demo-trunk.ofbiz.apache.org/partymgr/control/editpartygroup?create_new=Y" (try to create a new party group)
2. input any words in group name field, input any "incorrect" non-digits characters (e.g. "abcd" blah blah) to field "Annual revenue"
3. click save
It leads to an "exception" page instead of original input form with error message.

I digged some codes and found it's related to r1426231 commit (of OFBIZ-4769).

jleroux: the logic of code seemed good to me, I just refactored the cod a bit (in a previous refactoring attempt I missed the point that parametersObjExists might not be present. This new code is a simplified version of what does setAllFields internally. The PK fieldValues are set before being possibly overriden by context values. There is no Map casting. I tested the previous issues, all are resolved. 



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1462948 13f79535-47bb-0310-9956-ffa450edef68
2013-03-31 13:41:34 +00:00
Adrian Crum 909bed712c Some optimization work in UtilURL.java.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1462942 13f79535-47bb-0310-9956-ffa450edef68
2013-03-31 13:12:20 +00:00
Jacques Le Roux 0e341837a5 Revert r1462902, there are 3 tests failing and I have not the time to look at it yet
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1462912 13f79535-47bb-0310-9956-ffa450edef68
2013-03-31 10:27:41 +00:00
Jacques Le Roux 90b27b543a No functional change, just a small indentation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1462903 13f79535-47bb-0310-9956-ffa450edef68
2013-03-31 09:22:34 +00:00
Jacques Le Roux a4d71dd61e A refactored patch from Leon for "Bug introduced by OFBIZ-4769, it makes <entity-one> failed if the context contains incorrect data" https://issues.apache.org/jira/browse/OFBIZ-5148
How to reproduce:
1. open "https://demo-trunk.ofbiz.apache.org/partymgr/control/editpartygroup?create_new=Y" (try to create a new party group)
2. input any words in group name field, input any "incorrect" non-digits characters (e.g. "abcd" blah blah) to field "Annual revenue"
3. click save
It leads to an "exception" page instead of original input form with error message.

I digged some codes and found it's related to r1426231 commit (of OFBIZ-4769).

jleroux: the logic of code seemed good to me, I just refactored the cod a bit. This new code is a simplified version of what does setAllFields internally. The PK fieldValues are set before being possibly overriden by context values. There is no Map casting. I tested the previous issues, all are resolved. 



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1462902 13f79535-47bb-0310-9956-ffa450edef68
2013-03-31 09:20:30 +00:00
Jacopo Cappellato fa8adb6694 In preparation for the selective disabling of specialpurpose components as a default (when trunk is checked out, built, unit tested, run): explicitely added the "enabled" attribute to all the ofbiz-component.xml files of specialpurpose applications; for now they are all set to "true" (that is the default value) and so this commit will not change the behavior of the system.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1462422 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 07:21:52 +00:00
Jacopo Cappellato 028e08bc3b Reorganized test data and unit tests to remove wrong dependencies from accounting to assetmaint and from order to scrum; all tests are now successful even when all specialpurpose components (*except* ecommerce) are disabled.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1462421 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 07:07:59 +00:00
Jacques Le Roux 9ec6f59fdf Completes r1461709 for Windows
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1462411 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 05:58:56 +00:00
Ashish Vijaywargiya e5c7297a41 Adding Method to retrieve form-label from model parameter object in freemarker. Thanks Ankush for providing method for this missing functionality.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1462265 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 19:15:50 +00:00
Ashish Vijaywargiya 1ed8f39ed2 Applied bug fix from jira issue - OFBIZ-5165 - Broken renderLabel functionality of screenfop view handler.
If we use label inside widget tag then renderLabel macro skip the label rendering due to wrong condition check.
-- Corrected the conditions for label rendering.
-- Also replaced fo:inline with fo:block as fo:inline can't render directly.
Thanks Deepak.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1462257 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 18:51:26 +00:00
Jacopo Cappellato c1ae34b45d Upgrade from Ant 1.8.4 to Ant 1.9.0: in the process I have also switched the naming convention of jars to the new one we are adopting for example for Tomcat jars that is <NAME-OF-THE-EXTERNAL-PROJECT>-<RELEASE-NUMBER>-<ORIGINAL-NAME-OF-JAR-FILE>.
For example, in in the release package apache-ant-1.9.0.zip we have the jar ant-launcher.jar, the name of the jar in OFBiz is: ant-1.9.0-ant-launcher.jar



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1461709 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 17:01:12 +00:00
Jacopo Cappellato 88005f87ab Upgrade from Log4j 1.2.16 to Log4j 1.2.17
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1461681 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 16:03:32 +00:00
Jacopo Cappellato 50858f3a6d Upgrade to Tomcat 7.0.39
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1461665 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 15:49:14 +00:00
Jacopo Cappellato 47cc76394c OFBIZ-4908 Added missing target attribute from form definition that was preventing the update to work: thanks to Harsha Chadhar for the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1461551 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 12:48:45 +00:00
Paul Foxworthy efd5104e1d Fix spelling of successful and some other words
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1460654 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 13:33:09 +00:00
Paul Foxworthy 95a78a7c6a Add grams to Product Shipment Uom labels (Jira OFBIZ-5154)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1460653 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 13:27:53 +00:00
Paul Foxworthy 94c2bac40f reapplied Adrian's change r1460455
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1460652 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 13:26:42 +00:00
Paul Foxworthy 0079816733 Undid r1460637, should be two separate commits
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1460647 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 13:14:10 +00:00
Paul Foxworthy 4882b2b62d Add grams to Product Shipment Uom labels (Jira OFBIZ-5154)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1460637 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 12:46:16 +00:00
Adrian Crum cd9808ddb3 Enable FETCH and OFFSET keywords for Derby database.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1460455 13f79535-47bb-0310-9956-ffa450edef68
2013-03-24 20:23:27 +00:00
Jacques Le Roux af0e8d0fd3 Ooops :D this slipped it inadvertently (put for testing Jira 5030)
Thanks for spotting it Adrian! 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1460287 13f79535-47bb-0310-9956-ffa450edef68
2013-03-24 09:17:35 +00:00
Jacopo Cappellato ea0a2f4341 Some changes to the README file to simplify it and make it more consistent with the new layout of the OFBiz site.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1460276 13f79535-47bb-0310-9956-ffa450edef68
2013-03-24 07:34:21 +00:00
Jacopo Cappellato 08166bdc4c Unified redundant blocks "if (Debug.infoOn())" into one to improve readability of code: no functional changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1460275 13f79535-47bb-0310-9956-ffa450edef68
2013-03-24 07:25:56 +00:00
Jacopo Cappellato bd81b76dd8 Minor fix to indentation and to a typo in a comment.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1460274 13f79535-47bb-0310-9956-ffa450edef68
2013-03-24 07:16:43 +00:00
Jacques Le Roux 28b891cb20 A patch from Jeremy Olmstead for "Unable to search accounting transaction entries by productId " https://issues.apache.org/jira/browse/OFBIZ-5160
From the FindAcctgTransEntries screen, enter a part number to search for...you will still get a complete list of all transactions because the form field name is produtId instead of productId.  After searching relevant document types it turns out there are a few places where produtId is used instead of productId, the patch is meant to fix them all.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1460116 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 08:27:30 +00:00
Vikas Mayur b132e06101 OrderItemAttributes not correctly saved while creating an order due to a typo in a variable name, reported and patch provided by Mirko as part of OFBIZ-5158.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1459222 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 10:49:38 +00:00
Vikas Mayur db0922d7b2 Slightly different patch to fix the auto save cart functionality for anonymous user reported by Mirko on OFBIZ-5157.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1459220 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 10:38:28 +00:00
David E. Jones 1c6adf2f0a Fixed issue with deserialization from XML of an entity value with null fields
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1458429 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 17:48:28 +00:00
Paul Foxworthy 90d8cfb75d Exclude expired product category members from tax calc (OFBIZ-4940)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1456897 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 11:16:38 +00:00
Ashish Vijaywargiya 8c62ee7787 Bug Fix: Added check to avoid NPE if result-to-result is true.
If we set result-to-result true then for some cases actionResult may be empty so it throws an NPE action while executing eca action. Thanks Deepak.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1455407 13f79535-47bb-0310-9956-ffa450edef68
2013-03-12 04:51:28 +00:00
Hans Bakker 56323a459b make the webtools screens use the decorator location from web.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1455024 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 07:35:16 +00:00
Adrian Crum 008501055f Bug fix in FtpServices.java - close resources in finally block. Also made logging more consistent.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1453793 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 12:02:39 +00:00
Adrian Crum cc8d5e42fd Code formatting in FtpServices.java - no functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1453770 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 10:57:39 +00:00
Hans Bakker 289eec5846 ignore the backend analytics in e-commerce frontend
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1453169 13f79535-47bb-0310-9956-ffa450edef68
2013-03-06 06:14:50 +00:00
Jacques Le Roux 0ccbd4df4f A patch from Shi Jinghai "Apply desiredUomId in ProductWorker.getProductWeight" https://issues.apache.org/jira/browse/OFBIZ-5147
In getProductWeight method of applications/product/src/org/ofbiz/product/product/ProductWorker.java, the desiredUomId is not applied when calling convertUom service. I replaced "WT_lb" with desiredUomId.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1452382 13f79535-47bb-0310-9956-ffa450edef68
2013-03-04 16:42:33 +00:00
Jacques Le Roux 87a9e9b312 This prevented to load both web and pos simultaneously (both-containers.xml does not exist anymore).
It needs a compilation to work again.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1451879 13f79535-47bb-0310-9956-ffa450edef68
2013-03-02 12:32:11 +00:00
Paul Foxworthy 8c6a68202d Display states for default country in New Shipping Address for order https://issues.apache.org/jira/browse/OFBIZ-5125
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1451195 13f79535-47bb-0310-9956-ffa450edef68
2013-02-28 13:45:34 +00:00
Paul Foxworthy d65c92988b In geoAutoCompleter.js, the jQuery UI function name should be autocomplete,
not autcomplete


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1451183 13f79535-47bb-0310-9956-ffa450edef68
2013-02-28 12:49:42 +00:00
Hans Bakker 52326232ef currently tax is calculated before promotion, added am option in the productstore to be able to set the tax calculation after promotion. This in order to remain backward compatible. Also added a junit test for this. Contribution from Tom, employee from Antwebsystems
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1449615 13f79535-47bb-0310-9956-ffa450edef68
2013-02-25 08:25:07 +00:00
Adrian Crum 590f46f032 FIXME comment. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1449430 13f79535-47bb-0310-9956-ffa450edef68
2013-02-24 00:29:25 +00:00