Atul's note: I noticed some strange behavior (like there's little shifting of elements).
Jacques's note: I noticed them too (it's in the calling form or layer) but it's far better than before and IMO acceptable
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@949174 13f79535-47bb-0310-9956-ffa450edef68
The code inside the loop runs only once for non-serialized inventory but in case of serialized inventory the code inside loop runs equivalent to the
number of the quanity accepted and hence the code for status checking may run multiple times based on the quantity accepted. So as a performance check
it will now run only once.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@949097 13f79535-47bb-0310-9956-ffa450edef68
<copyright>Copyright 2001-.* The Apache Software Foundation</copyright>
<copyright><year>.*</year><holder>Apache Foundation</holder></copyright>
<copyright><year>.*</year><holder>Apache Foundation.</holder></copyright>
<owner>Copyright 2001-.* The Apache Software Foundation</owner>
Less to update every year!
Thanks to BJ 1st effort at "update files from 2009 to 2010" (https://issues.apache.org/jira/browse/OFBIZ-3783) - OFBIZ-3783
Note: there are been a lot of efforts in 2009: there are plenty of data dated from this year!
I hope I did not broke anything (should not, but of course I did not try all changes...) Anyway, this can be easily reverted...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948846 13f79535-47bb-0310-9956-ffa450edef68
Set text parameter to 'safe'(allow HMTL), now you can add some HTML Tags in your Product/Category Simple Text (maybe highlighting tags etc.).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948811 13f79535-47bb-0310-9956-ffa450edef68
Sascha : here is a little patch to improve the identification of the websites. The original method seems a little bit bare.
Jacques: I can't see any problems with this improvement, though I did not test all cases
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948761 13f79535-47bb-0310-9956-ffa450edef68
but now UtilCache is not strictly least-recently-used. Instead, it's
more of a less-recently-used. This difference can be seen when reducing
the max-in-memory setting(but not reducing completely to 0).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948449 13f79535-47bb-0310-9956-ffa450edef68
the population methods always get called during construction anways.
This was discovered while looking at code coverage.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948443 13f79535-47bb-0310-9956-ffa450edef68
requested during an inventory lookup, then turn off the use of the
iterator, so that the cache can actually be used. This is a speedup.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948438 13f79535-47bb-0310-9956-ffa450edef68
requested productPromoCodeId is valid and usable. This is to support
loading of promo codes from the database during loadCartFromOrder.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948437 13f79535-47bb-0310-9956-ffa450edef68
defective inventory item is reserved against a non-serialized inventory while placing a sales order.
Bug reported by Ratnesh Upadhyay.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948414 13f79535-47bb-0310-9956-ffa450edef68
The new library does *not* function correctly. It breaks the
testChangeMemSize test case. Reducing the memory size *must* still obey
the LRU settings; the new library removes items at random.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948328 13f79535-47bb-0310-9956-ffa450edef68
I used the default Weigher (see JavaDoc)
BTW this new implementation is really faster (tried with ArtifactInfo)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948037 13f79535-47bb-0310-9956-ffa450edef68
This patch is to add a couple of extra ways to look for a purchase order when receiving it into a facility
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948020 13f79535-47bb-0310-9956-ffa450edef68
The error can be reproduced as following:
Steps:
1) Go to Accounting > Global GL Settings > Select any value(100000) from the list > in the "Edit GL Account" update the record > now in the "Navigate Accounts" section click on any node .
Then you will get the error .......
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948017 13f79535-47bb-0310-9956-ffa450edef68
Steps:
1) Go to catalog > Stores > Select OFBiz E-Commerce Store
2) Click on Payment tab.
Now there are two options. Error come only with one of them.
Option 1: Edit any Payment Method. Submit the form at the bottom. Now click on NEXT link, you will see the error.
Option 2: Click on NEXT link, no errors.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@947679 13f79535-47bb-0310-9956-ffa450edef68