Jacques Le Roux
a4987cc819
A patch from Sascha Rodekamp "atalog Services HTML Safe" ( https://issues.apache.org/jira/browse/OFBIZ-3785 ) - OFBIZ-3785
...
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
2010-05-27 12:49:31 +00:00
Jacques Le Roux
c1e14e1a35
A patch from Sascha Rodekamp "Identifying the website id" ( https://issues.apache.org/jira/browse/OFBIZ-3784 ) - OFBIZ-3784
...
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
2010-05-27 10:23:30 +00:00
David E. Jones
0c3b76171d
Added removeUserPreference service, needed because you can't pass an empty value to the set service to clear out preferences, also this actually removes the record
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948697 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 07:18:59 +00:00
Jacques Le Roux
c974d3224e
A patch from Sascha Rodekamp "The position attribute (at least center) does not work when used in a lookup called from another lookup " ( https://issues.apache.org/jira/browse/OFBIZ-3781 ) - OFBIZ-3781
...
Here is a little patch to fix the center issue. I had to remove some code which is not needed anymore.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948694 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 07:07:05 +00:00
Adam Heath
416fd4ad66
Set the source format to 3.0 (quilt), to make it easier to have local
...
changes that might have binary files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948566 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 20:05:45 +00:00
Adam Heath
747d7272c7
Don't install build/lib/*-test.jar into the packages.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948565 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 20:05:40 +00:00
Adam Heath
7de2657860
Remove use of openjdk-6-jdk, instead sun-java6-jdk; it doesn't compile
...
some things correctly(generics markup), and has issues with some https
urls.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948563 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 20:05:35 +00:00
Erwan de Ferrieres
f9c4de5efc
Avoiding possible errors when adding portlets via web interface and logged as admin
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948479 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 15:47:47 +00:00
Jacques Le Roux
52520adaab
Clean imports, I also wondered if we should keep addAllFileTableValues which is not used internally (hence I guess useless) but I finally stopped as there were also some other Type Safety warnings and I did not have time to continue.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948460 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 14:48:00 +00:00
Adam Heath
6e07055341
Re-apply 948328, which brings us back to using the more efficient clhm,
...
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
2010-05-26 14:23:11 +00:00
Adam Heath
39faca3863
Allow for dynamic registering of additional operators for extensions.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948448 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 14:23:03 +00:00
Adam Heath
14b1bc46a7
Remove unneeded cast.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948447 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 14:22:57 +00:00
Adam Heath
6a9efe212d
Remove synchronized on masterClassManagers, switching to
...
FastMap(non-blocking).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948446 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 14:22:51 +00:00
Adam Heath
c2a39dcb52
Remove synchronized on staticTimers access(non-blocking).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948444 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 14:22:46 +00:00
Adam Heath
3ffebd5910
Always set memberModelEntities; there's no reason to check for null, as
...
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
2010-05-26 14:22:40 +00:00
Adam Heath
b861401e71
Fix view entities that have view entities as members, with complex aliases, or functions on the nested view.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948442 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 14:22:34 +00:00
Adam Heath
ffa0a69829
Allow processTrackingCode to be called externally, to allow for other ways of extracting the code.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948441 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 14:22:27 +00:00
Adam Heath
4488c44a32
Add support for UPPER and LOWER functions in index fields.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948440 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 14:22:21 +00:00
Adam Heath
9ea996dcb8
There is no reason to convert the controller xml url to a file first.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948439 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 14:22:14 +00:00
Adam Heath
9161cc6e3e
When use-iterator=true, then no caching is possible. So, if caching was
...
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
2010-05-26 14:22:08 +00:00
Adam Heath
773df43a27
If promotion processing is turned off, then don't attempt to see of the
...
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
2010-05-26 14:22:02 +00:00
Vikas Mayur
807e017f95
An alternative fix to the status of non-serialized inventory item when a return is received. This also fix an issue when a
...
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
2010-05-26 12:37:11 +00:00
David E. Jones
18da3d8395
Some changes to address issue of conflicting fromDate when expiring one ProductAverageCost record and creating another, this also checks for sub-second difference between old fromDate and new so that this stuff works more reliably on funny databases like MySQL
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948387 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 10:28:12 +00:00
Adam Heath
d945ef3d65
Add putIfAbsent method; disk-based variant of this method is not yet
...
tested.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948333 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 06:04:59 +00:00
Adam Heath
464c710f02
JDBM isn't multi-thread safe, so protect against concurrent access.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948332 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 06:04:52 +00:00
Adam Heath
bb2d32984f
Inline postRemove, it's only called from one place.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948331 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 06:04:45 +00:00
Adam Heath
95e6fc9f7d
Revert "As suggested by Ben Manes at "Upgrade ConcurrentLinkedHashMap" ( https://issues.apache.org/jira/browse/OFBIZ-3779 ) - OFBIZ-3779"
...
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
2010-05-26 05:52:11 +00:00
Adam Heath
7ebc344daf
Fix stand-alone tests target, broken when separated -test.jar logic was
...
added.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948327 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 05:52:03 +00:00
Jacques Le Roux
7aaf80b6c2
Fix a bug introduced while updating ConcurrentLinkedHashMap implementation at r947993. Reported by Christian on dev ML.
...
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
2010-05-25 13:38:39 +00:00
Jacques Le Roux
21ec172143
A patch from Sam Hamilton "Extending the search when receiving a Purchase Order" ( https://issues.apache.org/jira/browse/OFBIZ-3777 ) - OFBIZ-3777
...
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
2010-05-25 12:17:09 +00:00
Jacques Le Roux
3b6f4516c4
A patch from Ankit Jain "Edit/Navigate Global GL Account - Found URL parameter [glAccountId] passed to secure (https) request-map with uri [updateGlAccount]" ( https://issues.apache.org/jira/browse/OFBIZ-3316 ) - OFBIZ-3316
...
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
2010-05-25 12:08:24 +00:00
Jacques Le Roux
8a9c6ea716
As suggested by Ben Manes at "Upgrade ConcurrentLinkedHashMap" ( https://issues.apache.org/jira/browse/OFBIZ-3779 ) - OFBIZ-3779
...
The UtilCache class should use v1.0 of the CLHM library. While the previous version is fully functional, I am no longer supporting it. The new design should be faster and more reliable due to not needing to use a pseudo LRU algorithm for performance (which has degradation scenarios). A true LRU is now supported with no lock contention issues. Please consider upgrading when convenient.
http://code.google.com/p/concurrentlinkedhashmap/
JavaDoc:
http://concurrentlinkedhashmap.googlecode.com/svn/wiki/release-1.0-LRU/index.html
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@947993 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 10:08:04 +00:00
Jacques Le Roux
f59221875d
Fix a bug due to multi-tenant introduction. I guess this bug appears only if you use the multi-tenant mode.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@947988 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 09:53:56 +00:00
Jacques Le Roux
e8b9e8bb5b
A patch from Ankit Jain "Security issue in update store payment setting." https://issues.apache.org/jira/browse/OFBIZ-2395 - OFBIZ-2395
...
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
2010-05-24 15:48:30 +00:00
Erwan de Ferrieres
d512d97150
Removing some hard-coded uilabels
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@947663 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 15:05:12 +00:00
Erwan de Ferrieres
002a8ed79f
Adding generic service messages for error/succes, so any service could use them
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@947611 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 11:50:10 +00:00
Erwan de Ferrieres
ee7d17c8cd
Better French uiLabels
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@947506 13f79535-47bb-0310-9956-ffa450edef68
2010-05-23 22:08:00 +00:00
Jacques Le Roux
8b5da45213
Some languages don't use # for number http://en.wikipedia.org/wiki/Number_sign
...
Should be last pass (reasonable enough...)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@947491 13f79535-47bb-0310-9956-ffa450edef68
2010-05-23 20:31:48 +00:00
Jacques Le Roux
2b49c6049d
Some languages don't use # for number http://en.wikipedia.org/wiki/Number_sign
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@947485 13f79535-47bb-0310-9956-ffa450edef68
2010-05-23 20:18:07 +00:00
Jacques Le Roux
cb591b9c6a
Some languages don't use # for number http://en.wikipedia.org/wiki/Number_sign
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@947483 13f79535-47bb-0310-9956-ffa450edef68
2010-05-23 20:15:49 +00:00
Jacques Le Roux
ca77bb5166
Fixes some French labels related to # which is n° in French
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@947479 13f79535-47bb-0310-9956-ffa450edef68
2010-05-23 20:07:55 +00:00
Jacques Le Roux
b76b4f3808
A patch from Sascha Rodekamp " Calendar Don't open in Lookups" ( https://issues.apache.org/jira/browse/OFBIZ-3780 ) - OFBIZ-3780
...
After all the last Patches the calendar didn't opened in the lookups ... But here is the fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@947424 13f79535-47bb-0310-9956-ffa450edef68
2010-05-23 15:08:57 +00:00
Jacques Le Roux
14adf43d86
* Especially fix a bug in fieldlookup.js.
...
When using description-field-name in a layered lookup called from another layered lookup (recursively or not) the description-field-name parameter (target2) in the call from the 2d lookup button was not modified, therefore the link was not working.
Miscellaneous:
* Format and fix some typos in fieldlookup.js
* Removes now useless commented out functions set_value and set_values in lookup.ftl
* Improves comments in FormWidgetExampleForms.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@947392 13f79535-47bb-0310-9956-ffa450edef68
2010-05-23 10:08:21 +00:00
Vikas Mayur
c152093e71
Received status in not applicable on AR invoice as it was used in running mass operation on invoice selected from the find invoice result page. The correct status should be Sent.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@947055 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 16:13:38 +00:00
Jacques Le Roux
1105653227
Add documentation to description-field-name attribute in lookup
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@947005 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 13:44:41 +00:00
Jacques Le Roux
ed4edcb32e
A patch from Sascha Rodekamp fix an issue with layered lookups call recursively in IE (see https://issues.apache.org/jira/browse/OFBIZ-3450 ) - OFBIZ-3450
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@947004 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 13:42:45 +00:00
Vikas Mayur
c4e39e536f
Fixed yet another missing resource on EditAgreementRoles screen in accounting component.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946985 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 12:37:10 +00:00
Vikas Mayur
1118f65fed
Added a missing resource file to PaymentOverview screen in accounting component.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946982 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 12:18:36 +00:00
Vikas Mayur
b419f0f9fe
Fixed typo.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946965 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 10:11:20 +00:00
Hans Bakker
4ed7d3a044
fix a chart problem when a newer birt version in eclipse is used
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946940 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 09:18:30 +00:00