Commit Graph
27737 Commits
Author SHA1 Message Date
Adrian Crum 38fb5bae80 Moved Config-specific code from Start class to Config class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085794 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 19:52:44 +00:00
Adrian Crum df91c022e2 Unraveling Start.java spaghetti code: Moved "admin port" code to a separate class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085781 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 18:44:04 +00:00
Jacques Le Roux 3c7721d647 Inspired by Paul Foxworthy's patch at "createAgreementItem doesn't set agreementId in result" https://issues.apache.org/jira/browse/OFBIZ-4224 - OFBIZ-4224
The createAgreementItem service in applications/accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml doesn't set the agreementId in the result map properly.

Line 129 is
<field-to-result field="agreementId" result-name="agreementId"/>
and should be
<field-to-result field="parameters.agreementId" result-name="agreementId"/>

JLR: minor detail I rather used newEntity.agreementId like in the line below newEntity.agreementItemSeqId


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085774 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 17:42:55 +00:00
Adrian Crum 3855697825 Moved nested class in Start.java to its own file - no functional change. This commit changes the StartupLoader API.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085757 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 16:29:15 +00:00
Adrian Crum 58a6b3bdeb Reordered methods and fields in Start.java - no functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085745 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 15:56:19 +00:00
Adrian Crum 355cc6a59e Fix framework/base tests that were not running. Patch from Bob Morley with a few changes by me - https://issues.apache.org/jira/browse/OFBIZ-3662.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085735 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 15:11:00 +00:00
Adrian Crum 50abae04f4 Fixed a bug from one of my previous commits: In Start.java there could be a thread deadlock if one of the loaders failed to load.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085733 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 15:08:41 +00:00
Jacques Le Roux d943265798 A patch from Rene Scheibe "Invoice items should be sorted." https://issues.apache.org/jira/browse/OFBIZ-4230 - OFBIZ-4230
When creating an invoice via the service "createInvoiceForOrderAllItems" the order items are currently just fetched from the database without any sorting. This can result in a different sorting of invoice items vs. order items. Or when creating a new invoice due to a changed order the sorting between invoices can be different.

Sorts invoice items (in case they are derived from OrderItems) by "orderItemSeqId".

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085726 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 14:46:46 +00:00
Jacques Le Roux 2a51d7167a A patch from Mirko Vogelsmeier "Exception if a description for an item on main.ftl in accounting is null." https://issues.apache.org/jira/browse/OFBIZ-4229 - OFBIZ-4229
In the main.ftl of the accounting-module there are a lot of items listed (like paymentMethodTypes, paymentTypes, ...).
If one of these items does not have a description defined, an Exception is thrown.
As a fallback to the description i did add the Id.
Like if paymentMethodType.description doesnt exists, it gets the paymentMethodType.paymentMethodTypeId.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085697 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 11:24:38 +00:00
Jacques Le Roux b06b847f00 A patch from Deepak Dixit "Lookup target-parameter in form widget is not working." https://issues.apache.org/jira/browse/OFBIZ-4225 - OFBIZ-4225
An improved patch for target-parameter functionality, now paramI indexing start with I=0 instead of 1.

JLR: I have updated the XSD to tell it must begin at 0

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085671 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 09:17:17 +00:00
Jacques Le Roux 2e1b5dfdde Forgot a "m" in previous commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085605 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 23:55:24 +00:00
Jacques Le Roux 9a82ae9f68 memory.maxpermsize.param 128 maybe not be enough for trunk, upgrade to 512
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085599 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 23:39:16 +00:00
David E. Jones 706ee8e74e Added code to saveUpdatedCartToOrder to save billingAccountId from cart if cart has one
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085416 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 14:54:42 +00:00
Erwan de Ferrieres fb63adcf92 Adding line breaks so the next element won't be splitted on 2 lines
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085367 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 13:56:45 +00:00
Erwan de Ferrieres 975e52f1be Unexistant uilabel was used: ServiceName, should be ProductServiceName
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085357 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 13:28:31 +00:00
Erwan de Ferrieres c3620a572f Missing uiLabel for UseCartQuantity
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085356 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 13:27:19 +00:00
Erwan de Ferrieres a62fb70941 French postal address is a feminine noum and so, should have an 'e'
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085352 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 12:55:57 +00:00
Ashish Vijaywargiya ef089bbda6 Following bug fixes are being taken care in this commit.
-- Tax % discount was not working when we were applying a promotion in which we were doing order grand total to ZERO.
-- showing appropriate message when payment is refunded for manual transaction.
Thanks Amit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085341 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 12:01:01 +00:00
David E. Jones 38db32de85 Small change to service call logging for longer running services to show their results maps, helps establish context a bit better, especially on busy servers; tempting to show context as well, but that isn't in this change
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085333 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 11:40:05 +00:00
David E. Jones 86b9945c01 Screen parameters map no longer includes this catalina-specific variable with the full classpath that makes log messages that print parameters REALLY ugly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085332 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 11:38:53 +00:00
David E. Jones 8e6cf7f550 Small and unimportant change, combined two logWarning calls so they they get displayed together in the log on busy servers
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085331 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 11:37:41 +00:00
David E. Jones 70f799abc6 Small change, not important, and error message with details about billing accounts with insufficient balance available
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085329 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 11:36:30 +00:00
David E. Jones 06ebb26631 Fixed bad string expansion syntax in a few localized error messages
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085327 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 11:35:43 +00:00
Erwan de Ferrieres 5b6fa254a2 Missing uiLabels in showcartitems.ftl
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085322 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 11:16:44 +00:00
Erwan de Ferrieres d219eab7a8 French typo for OrderIsAPromotionalItem
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085301 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 09:37:57 +00:00
Hans Bakker 8786aec14c application between invoice and payment now automatically created when a payment is entered on the sales order before or after completion of the order. Payment information now also shown on the sales order.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085276 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 08:01:59 +00:00
Hans Bakker 65d7832c14 patch provided by Eric de Maulde OFBIZ-4217: Scaling image for every size type from ImageProperties.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085275 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 07:57:46 +00:00
Hans Bakker 1d8afadbdb update of the category tree in the catalog, which now also works for large trees. IE and blankscreen problems solved. sort by sequencenum, do not show rollup expired dates
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085269 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 07:43:18 +00:00
Erwan de Ferrieres 45f34a915a removing duplicate key: shipment.dhl.label.image.format
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085146 13f79535-47bb-0310-9956-ffa450edef68
2011-03-24 21:08:51 +00:00
Erwan de Ferrieres fea20a2768 Missing uilabel for 'new' field in price rules form
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085141 13f79535-47bb-0310-9956-ffa450edef68
2011-03-24 21:01:00 +00:00
Erwan de Ferrieres 80767adbf9 Now using the entity-option for drop-downs in the price rules forms. We can display the entitylabels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085137 13f79535-47bb-0310-9956-ffa450edef68
2011-03-24 20:56:22 +00:00
Erwan de Ferrieres d6727a7bbd Allowing to change the isSale for a price rule
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085136 13f79535-47bb-0310-9956-ffa450edef68
2011-03-24 20:50:55 +00:00
Erwan de Ferrieres 3b249fc639 Removing trailing spaces, no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085133 13f79535-47bb-0310-9956-ffa450edef68
2011-03-24 20:48:31 +00:00
Erwan de Ferrieres 1a58191cb8 Missing entitylabel for PRICE_POWHS
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085129 13f79535-47bb-0310-9956-ffa450edef68
2011-03-24 20:45:09 +00:00
Erwan de Ferrieres e794220091 Adding a tip for run-tests target, as it needs a valid Internet connection for downloading cobertura
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084927 13f79535-47bb-0310-9956-ffa450edef68
2011-03-24 12:15:29 +00:00
Jacques Le Roux ed827ab6d6 A patch from Leon "Minor related patch after OFBIZ-4225 issue (Lookup target-parameter in form widget is not working) fixed" https://issues.apache.org/jira/browse/OFBIZ-4228 - OFBIZ-4228
n https://issues.apache.org/jira/browse/OFBIZ-4225, Deepak Dixit fixed a bug in fieldlookup.js which caused "Lookup target-parameter in form widget is not working"。

Now the form widget framework behaves same as widget-form.xsd specifies: using parameters.parmI (where I is the position number in the "target-parameter" list) in the related lookup screen. The position number in the list begins from 1. That implictes "parm0" is invalid.

So I searched the whole project to look up whether there's "parm0" left out. That's what this patch for.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084855 13f79535-47bb-0310-9956-ffa450edef68
2011-03-24 06:36:58 +00:00
Erwan de Ferrieres ddea2b9136 OFBIZ-4220 a patch from Philippe Mouawad: Current implementation of UtilCache has a memory leak if maxInMemory is set
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084732 13f79535-47bb-0310-9956-ffa450edef68
2011-03-23 20:44:17 +00:00
Jacques Le Roux 85a3058ade Oops, small mistake in r1084671
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084689 13f79535-47bb-0310-9956-ffa450edef68
2011-03-23 19:29:10 +00:00
Jacques Le Roux 5e1e38c907 A modified patch from Konstantin Nikkel "Exception while creating a productBarCode" https://issues.apache.org/jira/browse/OFBIZ-4226 - OFBIZ-4226
If you try to create a barcode of a product that has no productName as content, you get the exception "Variable pruductName does not exist".
An exclamation mark in the "ProductBarCode.fo.ftl" manages this problem.

I added this feature, so I changed it a bit more by using also internalName as default for productName and changed the decorator since now productName is not needed (better to do that only in the ProductBarCode.fo screen, I checked it's no used anywhere else)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084671 13f79535-47bb-0310-9956-ffa450edef68
2011-03-23 18:52:45 +00:00
Vikas Mayur a1307b272a Bug fix - When a new price rule is added it should default to now. The screen to add a price rule can be extended to include all the attribute on ProductPriceRule entity other then just rule name.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084638 13f79535-47bb-0310-9956-ffa450edef68
2011-03-23 16:59:29 +00:00
Jacques Le Roux bc7fc69cb3 A patch from Deepak Dixit "Lookup target-parameter in form widget is not working." https://issues.apache.org/jira/browse/OFBIZ-4225 - OFBIZ-4225
There is a target-parameter for lookup, Currently it's not working.
We can test it over at https://localhost:8443/ordermgr/control/request page. 


I have added a small change in the XSD to tell it should begin at one(1)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084574 13f79535-47bb-0310-9956-ffa450edef68
2011-03-23 13:14:34 +00:00
Erwan de Ferrieres 076910e971 Adding a new field for seleniumTestSuitePaths, testSuiteType, which should be filled with HTML or XML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084551 13f79535-47bb-0310-9956-ffa450edef68
2011-03-23 11:51:33 +00:00
Jacques Le Roux 0fb95c2459 Adds 2 convenient anchors (seleniumXml and Junit)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084543 13f79535-47bb-0310-9956-ffa450edef68
2011-03-23 11:32:37 +00:00
Erwan de Ferrieres bcca21f197 Reorganizing data loading for selenium test in marketing. data should have been in data, and not in testdef
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084529 13f79535-47bb-0310-9956-ffa450edef68
2011-03-23 10:40:01 +00:00
Adrian Crum 397889ae8f Some work on ContainerLoader.java - Fixes some thread-safe issues and try to have better control over loading/starting/stopping containers.
I'm not sure what the Geronimo code was supposed to do. It appeared to load all of the containers just so it could create/start the rmi-dispatcher container. So, I created a static method that allows client code to get a specific container. If this change causes problems with Geronimo just let me know and I will fix it.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084238 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 16:22:54 +00:00
Adrian Crum 824a2186db Some work on Start.java - Try to have better control over loading/starting/unloading loaders. The shutdown hook is set before the loaders are loaded, so they can be unloaded if the OFBiz process terminates during loading. Also, thread synchronization was added so that loaders can't be loaded and unloaded simultaneously.
This commit might cause some loaders to throw exceptions during premature shutdown - that's because some loaders are not designed to be unloaded asynchronously.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084219 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 15:29:37 +00:00
Jacques Le Roux cb9ffa3654 Add a root.patch and allow to work correctly on Windows machines where patch.exe does not handle mixed EOLs (contrary to patch on Linux). This is due to SVN mixing EOLs when creating patches.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084215 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 15:24:59 +00:00
Adrian Crum 1700cd1371 StartupLoader.java JavaDocs - no functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084211 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 15:20:23 +00:00
Adrian Crum c0ae7cfde6 More Container.java JavaDocs - no functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084202 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 14:51:46 +00:00
Jacques Le Roux b7f5077402 Sorry while switching from OFBiz trunk to an internal directory I used the from folder when committing this
Thanks to Erwan for report

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084139 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 11:35:17 +00:00