Commit Graph
27737 Commits
Author SHA1 Message Date
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
Adrian Crum ae07fca011 Fixed a bug in one of my recent commits:
https://issues.apache.org/jira/browse/OFBIZ-5140


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1449429 13f79535-47bb-0310-9956-ffa450edef68
2013-02-24 00:27:33 +00:00
Jacques Le Roux 53c89e0757 Still not sure why Eclipse complained about
request.getSession().getServletContext()).getContextPath()

anyway
request.getContextPath()
is enough

see bottom of oracle.com/javaee/6/api/javax/servlet/ServletContext.html#method_detail

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1449290 13f79535-47bb-0310-9956-ffa450edef68
2013-02-23 09:51:34 +00:00
Jacques Le Roux b530f6d96d I was pretty stupid to blindly follow mad advice from Eclipse. I really don't understand why it finds an error there, nevermind
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1449286 13f79535-47bb-0310-9956-ffa450edef68
2013-02-23 09:07:05 +00:00
Jacques Le Roux 0d85c7eeab No functional changes, just formatting and adding a required cast
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1449282 13f79535-47bb-0310-9956-ffa450edef68
2013-02-23 08:47:28 +00:00
Jacques Le Roux 56c153168a A patch from Nicolas Malin for "Adding unit test for new element to load data" https://issues.apache.org/jira/browse/OFBIZ-5112
With the issue commit OFBIZ-4949, it' necessary to complete unit test on this feature.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1449279 13f79535-47bb-0310-9956-ffa450edef68
2013-02-23 08:26:21 +00:00
Jacques Le Roux 830f9f7b91 A patch from Shi Jinghai for "Chinese localizations (zh) for trunk (Part II)" https://issues.apache.org/jira/browse/OFBIZ-5137
Translated missing zh labels for projectmgr, scrum, service, webpos and webtools components. These are the last 5 components.





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1448350 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 18:50:33 +00:00
Jacques Le Roux b591e84b2a A slightly modified patch from Gil Portenseigne for "Missing PartyCountryCode uiLabel" https://issues.apache.org/jira/browse/OFBIZ-5138
The label ${uiLabelMap.PartyCountryCode} is used several times in the project but i could not find the definition of PartyCountryCode in label definition files.
I looked further and found CommonCountryCode in label file which is not used and fill the need for PartyCountryCode. To solve this I propose to rename all PartyCountryCode to CommonCountryCode.

jleroux: I also moved CommonCountryCode, CommonCountryCodeMissing and CommonCountryMissing from PartyUiLabels.xml to CommonUiLabels.xml





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1447664 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 10:55:10 +00:00
Adrian Crum 934d162622 Small fixup for EntityEcaCondition.java accessor method.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1447638 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 09:02:24 +00:00
Jacques Le Roux 57bdc795b7 A patch from Shi Jinghai for "Chinese localizations (zh) for trunk (Part II)" https://issues.apache.org/jira/browse/OFBIZ-5137
Translated missing zh labels for party, pos and product components.





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1447615 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 07:56:32 +00:00
Sascha Rodekamp 7b0fd3e806 In an exception case the ServiceUtils.setServiceFields method should throw an exception and don't hide it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1447603 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 07:18:10 +00:00
Sascha Rodekamp e8ff62f756 Add a small method to the ServiceUtil Class which checks all incoming service attributes and look for fields with the same name in the incoming map and copy those onto the outgoing map. Also includes a userLogin if service requires one.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1447246 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 13:26:00 +00:00
Jacques Le Roux cc9fa9624f A patch from Shi Jinghai for "Chinese localizations (zh) for trunk (Part II)" https://issues.apache.org/jira/browse/OFBIZ-5137
Translated missing zh labels for oagis and order components.





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1447170 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 09:35:51 +00:00
Adrian Crum 88d0052633 Small fixup for my previous commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1447114 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 01:13:10 +00:00
Adrian Crum 4ec75ee3c7 Small enhancements to Entity ECA classes: improve thread safety, eliminate null checks on fields that are never null, add some accessor methods, small code cleanups.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1447112 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 01:03:58 +00:00
Adrian Crum b0014ab3f6 Small enhancements to EntityEcaRule.java: parse <eca> element only once, improve thread safety, add some accessor methods.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1447108 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 00:10:25 +00:00
Adrian Crum 6dec952bc7 EntityEcaSetField.java bug fixes: test for null on field that was never null, not thread-safe.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1447107 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 00:01:52 +00:00
Adrian Crum 3caa1e66d3 Small improvements to ApacheFopWorker: check for file/folder existence before applying settings.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1446940 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 20:43:38 +00:00
Adrian Crum 9b6b06c44a Reverting revision 1345849 because it is not thread-safe and it doesn't work.
It appears this was an attempt to create per-tenant FOP factories, but instead each tenant overwrites the previous FOP factory settings.

A proper implementation would require a FOP factory cache keyed by delegator name.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1446913 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 16:31:31 +00:00
Adrian Crum a0402a0d38 Small improvement to Web Tools services screen: Add service definition location.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1446885 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 12:37:20 +00:00
Jacques Le Roux 675a2794a0 A patch from Chatree Srichart for "The createDataResourceRole service does not check if partyId exists" https://issues.apache.org/jira/browse/OFBIZ-5133
The createDataResourceRole service has a partyId attribute as optional but its implementation method does not check if the partyId exists before creating a DataResourceRole value.
The ensurePartyRole service also has a partyId attribute as optional but its implementation method does not check if the partyId exists before creating a PartyRole value.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1446876 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 11:54:50 +00:00
Jacques Le Roux 121c1f5f99 A patch from Nicolas Malin for "Send mail to a contact list, update screen for more user frendly" https://issues.apache.org/jira/browse/OFBIZ-5132
On marketing component when you will send a mail to a contactList, the screen is easy and effective but not really user-frendly. This screen is available on marketing/control/createContactListCommEvent

I improved :
 * force text/html by default on drop-down
 * set position 2 for content type
 * use advanced editor for content
 * labelise the communicationMethodType


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1446875 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 11:49:38 +00:00
Jacques Le Roux 975a7dc9ce A patch from Shi Jinghai for "Chinese localizations (zh) for trunk (Part II)" https://issues.apache.org/jira/browse/OFBIZ-5137
Translated missing zh labels for several components.





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1446852 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 08:49:01 +00:00
Jacques Le Roux 76da9bea54 A patch from Shi Jinghai for "Chinese localizations (zh) for trunk" https://issues.apache.org/jira/browse/OFBIZ-5134
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1446849 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 08:08:38 +00:00
Jacques Le Roux 364b3cd1e6 A patch from Nicolas Malin for "fieldGroup will ignored if all contains fields are ignored" https://issues.apache.org/jira/browse/OFBIZ-5136
When you have a fieldGroup that contains fields with use-when attribute, if all fields aren't use, the fieldGroup is empty.
Improvment: to not display the field group



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1446847 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 07:49:28 +00:00
Jacques Le Roux 41a5a96436 A patch from Chatree Srichart for "services_quote.xml#quoteSequence-enforced method is not facet-valid with respect to pattern" https://issues.apache.org/jira/browse/OFBIZ-5135
I got an error message:
Error message: cvc-attribute.3: The value 'quoteSequence-enforced' of attribute 'method-name' on element 'simple-method' is not valid with respect to its type, 'javaClassName'.




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1446575 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 13:28:42 +00:00
Jacques Le Roux e18c34f93d A patch from Shi Jinghai for "Chinese localizations (zh) for trunk" https://issues.apache.org/jira/browse/OFBIZ-5134
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1446482 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 09:11:54 +00:00
Jacques Le Roux 8afa159480 A patch from Chatree Srichart for "Ignore "tenant" data files if the multitenant property is "N"" https://issues.apache.org/jira/browse/OFBIZ-4934
The system does not need to load tenant data files if the multitenant property in general.properties is "N". I created a patch to ignore the tenant data files when run ./ant load-demo command.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1444370 13f79535-47bb-0310-9956-ffa450edef68
2013-02-09 14:39:29 +00:00
Jacques Le Roux e3f6acea20 Fixes 2 issues I found by chance while browsing trunk demo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1444356 13f79535-47bb-0310-9956-ffa450edef68
2013-02-09 12:57:36 +00:00
Ashish Vijaywargiya 54935d7db8 No functional changes, Formatted the file as per best practice that we follow in FTL files. Thanks Deepak!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1442197 13f79535-47bb-0310-9956-ffa450edef68
2013-02-04 17:40:56 +00:00
Vikas Mayur 3cce478ea4 Final formatting changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1441333 13f79535-47bb-0310-9956-ffa450edef68
2013-02-01 08:02:52 +00:00
Vikas Mayur e9375a9c86 Minor cleanup, merged two different 'if' block.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1441332 13f79535-47bb-0310-9956-ffa450edef68
2013-02-01 08:01:35 +00:00
Vikas Mayur 22cd052afc Only formatting changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1441331 13f79535-47bb-0310-9956-ffa450edef68
2013-02-01 07:58:19 +00:00
Vikas Mayur 2698fbf8e5 Minor mods to log, type of the default account to be used for store credit and in the log should only be determined after checking the setting on product store.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1441329 13f79535-47bb-0310-9956-ffa450edef68
2013-02-01 07:55:53 +00:00
Jacques Le Roux 991129a117 A patch from Leon for "add some omitted zh (CN) translation to OrderUiLables.xml" https://issues.apache.org/jira/browse/OFBIZ-5127
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1440295 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 07:11:42 +00:00