Commit Graph
27737 Commits
Author SHA1 Message Date
Jacques Le Roux 59f9858d2a mysql was missing in clean-downloads target
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1556185 13f79535-47bb-0310-9956-ffa450edef68
2014-01-07 11:44:50 +00:00
Jacques Le Roux 9d44c95d72 Fixes a long time pending minor issue when deleting downloaded jar files in Windows (were not deleted). Using deleteonexit did the trick, also added verbose to see which downloaded jar files are deleted
So I uncommented the clean-downloads sub-target in the clean-all target
Also adds a description to clean-ivy


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1556174 13f79535-47bb-0310-9956-ffa450edef68
2014-01-07 10:40:17 +00:00
Jacques Le Roux 2a2d2922df A slightly modified patch from Pierre smits for
"include ivy clearcache in build" https://issues.apache.org/jira/browse/OFBIZ-5461
"build.xml includes both namespace for Apache Ivy and ivy-init target" https://issues.apache.org/jira/browse/OFBIZ-5462

jleroux: I added activemq (recently added) in the clean-downloads target



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1556166 13f79535-47bb-0310-9956-ffa450edef68
2014-01-07 09:56:12 +00:00
Jacques Le Roux 1bfbaebc3b Resolves but not yet closes "Because of the elevation field in GeoPoint we need a many relationship for (at least) PostalAddress and Facility" at https://issues.apache.org/jira/browse/OFBIZ-3198
Simply add a geo point in FacilityLocation for now. Keeps the Jira issue open but resolved as incomplete, we will see later...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1555886 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 16:19:33 +00:00
Jacques Le Roux 0839a0381b This should be rather named View than Edit, there is no edition there, confusing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1555884 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 16:14:53 +00:00
Jacques Le Roux ee6ccc5d9f Those are the real elevations, according to http://www.daftlogic.com/sandbox-google-maps-find-altitude.htm
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1555614 13f79535-47bb-0310-9956-ffa450edef68
2014-01-05 19:15:11 +00:00
Jacques Le Roux 0eb2088f5c Unfortunately adding a line is not enough for Aptana js editor to separate comments, so better to put comments in the function itself
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1555516 13f79535-47bb-0310-9956-ffa450edef68
2014-01-05 14:31:46 +00:00
Jacques Le Roux ab73f5348e Damn, this was unintended
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1555507 13f79535-47bb-0310-9956-ffa450edef68
2014-01-05 13:55:45 +00:00
Jacques Le Roux 94e4a25400 Adds a line between the license header and the getDependentDropdownValues() function documentation. My JS editor in Eclipse (Aptana) was hiding it all together with the license header
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1555506 13f79535-47bb-0310-9956-ffa450edef68
2014-01-05 13:54:39 +00:00
Jacques Le Roux 5b6c8e1953 Change a en to de duplicated label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1555474 13f79535-47bb-0310-9956-ffa450edef68
2014-01-05 10:06:10 +00:00
Jacques Le Roux 3f9e3a260c Mmm, fixes a typo in previous commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1555194 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 18:39:51 +00:00
Jacques Le Roux a7c48e1d30 Even for testing purpose, I like things to be precise. Google geo coder still fails by about 100 meters (fun :)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1555187 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 18:25:01 +00:00
Jacques Le Roux e6038681c9 Fixes a bug reported by Christian Carlow at
https://issues.apache.org/jira/browse/OFBIZ-5457 for "Groovy error when initiating sales order creation for unkown partyId" 

This error is generated when an unknown partyId is entered in the Customer field of the sales order entry form:

To resolve the issue, lines 60-63 of CheckInits.groovy should be wrapped in an IF block checking for the existence of the product variable previously assigned.

jleroux: Christian's patch did not apply but it was easy to do it by hand.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1555142 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 16:41:49 +00:00
Jacques Le Roux f8cee923d9 Better target description
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1555072 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 12:27:07 +00:00
Jacques Le Roux 85760cc7f3 A slightly modified patch from Pierre Smits for "Have Ivy download the activemq jar(s) for DCC" https://issues.apache.org/jira/browse/OFBIZ-5448
jleroux: I simply added a target description 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1554974 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 00:04:13 +00:00
Jacques Le Roux 676997b394 I did not get a chance to test my last editGeoLocation related change, here is the definitive version
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1554787 13f79535-47bb-0310-9956-ffa450edef68
2014-01-02 11:14:01 +00:00
Jacques Le Roux 98d5af4a8e Keeps the hack clean, sync is not needed here
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1554764 13f79535-47bb-0310-9956-ffa450edef68
2014-01-02 08:17:23 +00:00
Jacques Le Roux 8b547d6b69 This is a temporary hack waiting for a better geolocation data model, related with OFBIZ-5453
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1554706 13f79535-47bb-0310-9956-ffa450edef68
2014-01-02 00:15:38 +00:00
Jacques Le Roux d57782908a Completes "Set field in (at least) widget screen does not take into account a locale for (at least) the Float type" https://issues.apache.org/jira/browse/OFBIZ-5453 for minilang.
Removes dead code.
Locale applies only when the type is also passed, like in widgets.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1554685 13f79535-47bb-0310-9956-ffa450edef68
2014-01-01 22:02:17 +00:00
Jacques Le Roux 22cdda72c4 This closes "Set field in (at least) widget screen does not take into account a locale for (at least) the Float type" https://issues.apache.org/jira/browse/OFBIZ-5453
And definitively fixes issues with i18n of geolocation 

It introduces a "locale" attribute to the "set" operation in widget (I only tested screen, form is quite similar, should be ok) and minilang.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1554681 13f79535-47bb-0310-9956-ffa450edef68
2014-01-01 21:30:12 +00:00
Jacques Le Roux c28edba6d8 This fixes the geolocation in OFBiz, for both Google Maps and OpenLayers. It seems few changes, it took me more time than I thought. I hope this will last few years again, and it should be easier to maintain now.
What I did:
Upgraded from Google Maps API 2 to 3, which also means removing the keys in general.properties. They are no longer needed in API-3 (at least for our demo and local test uses), one worry less!
Refactored Google Maps code in geolocation.ftl: put more things in common,  simplified code (the API-3 is better from this POV).

For OpenLayers, due to most browsers now rejecting mixed content (HTTP vs HTTPS), I had to follow their advice and put OpenLayers-2.13.1.js + images and theme(finally not used) in the framework. Not a big deal in term of size but again one more lib to worry about. Anyway geolocation is not vital for OFBiz. I have also added a zoom and navigation widget in maps. Note that IE warns about mixed content, but you can bypass it.

While working on editGeoLocation (in Party) I noticed it does not update the elevation. I found it was possible http://www.daftlogic.com/sandbox-google-maps-find-altitude.htm but I did not implement it, lack of time...
Also I got once a NPE in CallSimpleMapProcessor (when using editGeoLocation) but was unable to reproduce (w/o changes before and after)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1554536 13f79535-47bb-0310-9956-ffa450edef68
2013-12-31 15:22:21 +00:00
Jacopo Cappellato bdf63b5933 Upgrade to the latest Lucene release 4.6.0
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1554384 13f79535-47bb-0310-9956-ffa450edef68
2013-12-31 08:13:35 +00:00
Jacopo Cappellato 26ae0b63bb Removed incomplete JUnit test that was created by Hans Bakker in commit 1449615 in order to test the feature associated to a new field calcTaxAfterPromotion; after this, Paul Foxworthy reverted the commit in rev. 1468865 but he forgot to remove the whole test and instead he updated it, leaving it in a useless state.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1554373 13f79535-47bb-0310-9956-ffa450edef68
2013-12-31 06:52:35 +00:00
Adrian Crum 2d953bf8e1 Fixed a bug in Party Manager where FreeMarker threw an exception when a PostalAddress did not contain a country GEO ID.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1554290 13f79535-47bb-0310-9956-ffa450edef68
2013-12-30 18:15:49 +00:00
Jacopo Cappellato 462c8b0bc5 This is a refactoring of the product promotion engine in order to overcome some limitations that prevented it to select and apply the best set of promotions under special conditions.
Example: Consider two promotions:
* consider two products: Product A, with price $20, and Product B, with price $40
* Promotion 1: 20% discount on all the products in a category containing Product A and Product B
* Promotion 2: 40% discount on Product A

When Product A and Product B are both in the cart:
* Expected behavior: on Product A the Promotion 2 should be applied i.e. 40% discount, and on Product B Promotion 1 should be applied i.e. 20% discount.
** Summary
Product		Price	Discount		Subtotal
A		$20	$8 (40% discount)	$12
B		$40	$8 (20% discount)	$32
Total Adjustment: $16

* OFBiz behavior (before this fix): Promotion 1 is applied to Product A and Product B; this happens because the total discount of Promotion 1 is greater than the total discount of Promotion 2 and OFBiz applies promotions sorted by discount (desc)
** Summary
Product		Price	Discount		Subtotal
A		$20	$4 (20% discount)	$16
B		$40	$8 (20% discount)	$32
Total Adjustment: $12

The new solution fixes this issue and similar ones.

Here are some details about the new algorithm.

Overview of the flow:
1) run the promotions one by one in a test run
2) collect the ProductPromoUse information
3) sort them by weight (i.e. the ratio between the discount and the value of the products discounted)
4) execute the ProductPromoUse in the given order

In order to understand this solution, and specifically the changes to ProductPromoWorker.java, there is an important concept to consider:
one Promotion can generate more than one ProductPromoUseInfo objects.
For example if I have 2 units of WG-1111 in the cart (in one cart item) and I have the promotion “20% discount on WG-1111 and GZ-1000” then the system will create TWO ProductPromoUseInfo objects both associated to the same promotion one for each of the 2 units discounted.
Similarly if I had two lines: 2 units of WG-1111 and 1 unit of GZ-1000 I would get 3 ProductPromoUseInfo objects 2 objects for WG-1111 and 1 object for GZ-1000

We can sort these ProductPromoUseInfo objects based on their weight (i.e. the ratio between the discount and the value of the products discounted) in desc order
and now we have a sorted list of ProductPromoUseInfo objects ready to be executed
However we only want to execute each of them once and for this reason we set (in memory, not in the DB) the useLimitPerOrder to 1 in the first ProductPromoUseInfo of a given promotion and then to 2 if the same ProductPromoUseInfo is associated to the same promotion etc...
in this way the end result is that the system will generate, as we desire, ONE ProductPromoUseInfo only for each of the ProductPromoUseInfo in the list.

Here is an example:
we have 2 promotions:
PROMO A
PROMO B

After test run:

ProductPromoUseInfo - PROMO A - #1 - weight 0.3
ProductPromoUseInfo - PROMO A - #2 - weight 0.3
ProductPromoUseInfo - PROMO B - #1 - weight 0.4

After sorting:

ProductPromoUseInfo - PROMO B - #1 - weight 0.4
ProductPromoUseInfo - PROMO A - #1 - weight 0.3
ProductPromoUseInfo - PROMO A - #2 - weight 0.3

Based on this we create a list (sortedExplodedProductPromoList) of ProductPromo:

PROMO B - with useLimitPerOrder=1
PROMO A - with useLimitPerOrder=1
PROMO A - with useLimitPerOrder=2

When we apply these to the cart we get the following results:

PROMO B - with useLimitPerOrder=1 APPLIED
PROMO A - with useLimitPerOrder=1 APPLIED
PROMO A - with useLimitPerOrder=2 NOT APPLIED (because PROMO B used the item)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1554265 13f79535-47bb-0310-9956-ffa450edef68
2013-12-30 15:53:07 +00:00
Jacopo Cappellato 692a5ab569 Upgrade to the latest official major version of Groovy: 2.2.1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1554242 13f79535-47bb-0310-9956-ffa450edef68
2013-12-30 14:44:32 +00:00
Adrian Crum 2798fbd80f Fixed the FinAccountTests - which assumed the tests would be run in the order they appear in source code, which JUnit does not guarantee:
http://stackoverflow.com/questions/3693626/how-to-run-test-methods-in-specific-order-in-junit4


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1554064 13f79535-47bb-0310-9956-ffa450edef68
2013-12-29 20:42:16 +00:00
Jacques Le Roux 398aeffd7f Oops my bad, I forgot that I had downloaded the cobertura-1.9.4.1.jar locally so I had no issues after an ant clean but Buildbot had
So finally removes last change in framework/base/build.xml related to Cobertura

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1554018 13f79535-47bb-0310-9956-ffa450edef68
2013-12-29 12:15:47 +00:00
Jacques Le Roux 5b7572d537 Finally commits change in framework/base/build.xml, the Buildbot error was not related to this change (did not make sense, as long this target is not used at least)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1554016 13f79535-47bb-0310-9956-ffa450edef68
2013-12-29 11:52:15 +00:00
Jacques Le Roux 92525ea290 I was too fast with the Cobertura changes in previous commit, I forgotI did not test those yet.
So I revert them for now, they are not needed yet for the INFRA-3590 progresses anyway, only the portoffset parameter is needed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1553975 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 23:43:53 +00:00
Jacques Le Roux 4c0b42b9d2 This completes "set different ports for testing in a CI environment (e.g. Jenkins)" https://issues.apache.org/jira/browse/OFBIZ-4794
This was waiting for a moment in my working copy after I found that there was an issue with testSOAPSimpleService when portoffset was used with run-tests target.
I have still no resolved this issue, but since I got a better way to run simultaneous Buildbot instances this is no longer an issue for run-tests target.
So I commit these small pending changes in order to allow to run Sonar on OFBiz https://issues.apache.org/jira/browse/INFRA-3590.
The cobertura target does not work yet but what's committed here is needed anyway to progress with INFRA-3590.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1553962 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 23:09:01 +00:00
Adrian Crum d79ac2631a Upgrade Derby to 10.10.1.1.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1553893 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 19:20:08 +00:00
Adrian Crum 7cad5f6af5 A small code cleanup in the entity engine - remove deprecated functionality. Originally, the "blob" field type was used as a catch-all for java.sql.Blob, byte[], and java.lang.Object. Now each Java type has its own field type - so you must specify the correct one.
IMPORTANT: This commit might break some applications. If you get ClassCastExceptions, then you need to change the field type in your entity from blob to either byte-array or object. The change will have no effect on your database - because they are all persisted as BLOB SQL types.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1553890 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 19:15:58 +00:00
Jacques Le Roux ede1994465 A patch from Leon for "NPE thrown out while rendering disabled menu item" https://issues.apache.org/jira/browse/OFBIZ-5451
The method "renderLink" of new class MacroMenuRenderer calls the WidgetWorker.determineAutoLinkType. When menuItem.getDisabled() is true, the link target will be set to null and NPE occurs.

jleroux: This was related with r1517353 and r1537833. The Leon's patch fixes r1517353 and this commits also reverts r1537833


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1553887 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 18:55:53 +00:00
Adrian Crum 2d81f9049e An improvement to the Mini-language <set-service-fields> element - now you can specify the service attributes mode: IN or OUT.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1553776 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 01:17:40 +00:00
Adrian Crum 4b8948664b A fix for some Chinese translations. Patch contributed by Leon - https://issues.apache.org/jira/browse/OFBIZ-5446
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1553663 13f79535-47bb-0310-9956-ffa450edef68
2013-12-27 11:20:11 +00:00
Jacques Le Roux cf3b73046f No functional change, updates a link for sonar-ant-task description
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1553089 13f79535-47bb-0310-9956-ffa450edef68
2013-12-23 10:00:20 +00:00
Jacques Le Roux 3cd8445fe3 Fix a bug reported by Chris Snow at https://issues.apache.org/jira/browse/OFBIZ-2847 for "Create New Inventory Item - user entered Inventory Item Id overwritten with system generated one"
It does not make sense to allow entering an inventoryItemId. It is and must be generated by the system anyway (to prevent collisions)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1552908 13f79535-47bb-0310-9956-ffa450edef68
2013-12-21 14:24:51 +00:00
Jacques Le Roux 8b770eea31 From a wrong Christian Carlow's patch for "ShipBeforeDate/ShipAfterDate of additional ship groups displayed incorrectly on shipping options page of Customer Order Entry app" https://issues.apache.org/jira/browse/OFBIZ-5381
ShipBeforeDate/ShipAfterDate of ship groups are displayed incorrectly on the shipping options page of the Customer Order Entry app.  The dates is set correctly but the shipping options page does not get the shipping date by shipGroupIndex.  Instead it gets the shipBeforeDate/shipAfterDate of the order item.  The page should be changed to get the dates by passing in the shipGroupIndex: cart.getShipAfterDate(shipGroupIndex)

To reproduce
1.  Create new order for DemoCustCompany
2.  Add productId "GZ-BASKET" with quantity 10
3.  Click "Finalize Order" link
4.  Click "Create New Ship Group" button on Shipping page and then click "Continue" link
5.  Assign 5 of GZ-BASKET to Ship Group 2 and click "Continue" link
6.  Select shipping methods and set shipBeforeDate/shipAfterDate and click "Continue" link
7.  Click the "Options" link to return to previous ship options page
8.  Notice the dates of the second ship group are incorrectly set to the same values as the date of the first ship group

jleroux: Christian's patch was reversed, with his comment I eventually got the idea

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1552901 13f79535-47bb-0310-9956-ffa450edef68
2013-12-21 13:50:08 +00:00
Jacques Le Roux 2f3a2983fa Oops, what happens when you don't test before committing, fr is not en
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1552681 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 14:18:27 +00:00
Jacques Le Roux 8d3f4a2d11 Adds a French label (at least have main menus localised) and fixes crap as expected
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1552674 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 13:56:28 +00:00
Jacques Le Roux 012aea6aac Adds a French label (at least have main menus localised)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1552668 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 13:47:40 +00:00
Jacques Le Roux 569969c723 Fixed a (now?) wrong URL (to Eclipse tips in wiki)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1552650 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 13:22:53 +00:00
Jacques Le Roux 3087f2cd3d Fixes a formatting issue, there from long
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1552500 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 06:06:47 +00:00
Adrian Crum 0ea913ca1b Fixed a FreeMarker exception.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1552316 13f79535-47bb-0310-9956-ffa450edef68
2013-12-19 13:31:53 +00:00
Jacques Le Roux 1276dc8eb8 Removes an useless debug log error, caught around anyway
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1552311 13f79535-47bb-0310-9956-ffa450edef68
2013-12-19 13:17:03 +00:00
Jacques Le Roux 1c89a37122 A slightly modified patch from Praveen Agrawal for "Order Return Process doesn't override the Order Adjustment Amount that is provided from Return Screen GUI" https://issues.apache.org/jira/browse/OFBIZ-5439
OFBiz return services (OrderReturnServices.java - createReturnAdjustment) contains a bug when generating the Return Adjustments based on the Order Adjustments.
The bug is it is ignoring the 'overriding amount' entered on the screen.
For example If an order has an Shipping Charge Order Adjustment in the amount of 7.95 and from the screen the cleint wants to return only 5.95 (override), the return services ignores the 5.95 entry and returns the full 7.95.

jleroux: I removed a BigDecimal amount declaration which was conflicting
I formatted the if block

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1552290 13f79535-47bb-0310-9956-ffa450edef68
2013-12-19 12:20:32 +00:00
Jacques Le Roux c75405ca4a Even if I don't like much never-ending stacks in logs, this adds a log error in case the exception would be swallowed (recommended practice)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1552249 13f79535-47bb-0310-9956-ffa450edef68
2013-12-19 08:08:16 +00:00
Jacques Le Roux 274a420596 Fixes an issue where externalKeyParam was not escaped in link so was useless (this is only in .ftl files)
Actually the right thing to do should be to work on migrating all freemarker templates in backend to widgets and using target-type="inter-app" for those. I know Adrian has opened a Jira for that, next task in my TODO list. 
Without this effort we will never be able to style the backend uniformly, notably in custom projects...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1552149 13f79535-47bb-0310-9956-ffa450edef68
2013-12-18 23:00:57 +00:00
Jacques Le Roux 748770fb6d No functional change. As suggested Adrian on dev ML, creates the AtomicReference update outside the try-catch block.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1552120 13f79535-47bb-0310-9956-ffa450edef68
2013-12-18 21:56:33 +00:00