Jacques Le Roux
9c8490bf80
A patch from Ankit Jain "Replaces != nullpattern in ftl file by ?? (which replaces deprecated ?if_exist)" https://issues.apache.org/jira/browse/OFBIZ-4916
...
jleroux: I simply removed some useless ?? when ?has_content was enough. I also found 3 other cases in returnPolicy.ftl that I fixed the same way than Ankit (using ??)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1345532 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 17:10:52 +00:00
Jacques Le Roux
a5fecf2bb3
Revert r1345473, I will rather review and commit https://issues.apache.org/jira/browse/OFBIZ-4916
...
Thanks to Jacopo spotting this (was harmful but stupid, really the kind of errors I make when too tired, not enough focus:D )
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1345484 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 11:09:02 +00:00
Jacques Le Roux
cfd136db5d
Fix a small bug, related to recent Freemarker changes, reported on user ML
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1345473 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 09:46:28 +00:00
Jacques Le Roux
8513c6f03f
A completing patch from Tri Duc Vo for "Next Vietnamese Ofbiz translation https://issues.apache.org/jira/browse/OFBIZ-4759
...
Closes the issue
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1345435 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 04:20:07 +00:00
Jacques Le Roux
fed8217a82
A patch from Tri Duc Vo for "Next Vietnamese Ofbiz translation https://issues.apache.org/jira/browse/OFBIZ-4759
...
fixed few issues, 3 remains, Tri will have to choice
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1345379 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 22:32:57 +00:00
Hans Bakker
2ac92d21d1
reverted unwanted change in previous commit
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1344607 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 09:04:42 +00:00
Hans Bakker
888619f7d8
removed 2 not used data items
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1344598 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 08:45:03 +00:00
Jacopo Cappellato
c6824a6db8
Improved code that manages the cache:
...
* removed unnecessary synchronization
* protected the UtilCache object (static field) by making it private and final
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343646 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 10:19:21 +00:00
Jacopo Cappellato
bb247813f7
Improved code that manages the cache:
...
* removed unnecessary synchronization
* replaced non atomic containsKey+put+get with get + putIfAbsentAndGet
* protected the UtilCache object (static field) by making it private and final
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343643 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 10:17:42 +00:00
Adam Heath
dc65cf6699
Deprecate EntityUtil.getRelated(ByAnd|OrderBy)(|Cache), replaced with
...
the single getRelated variant.
EntityUtil.getRelatedByAnd(String, Map) replaced by
EntityUtil.getRelated(String, Map, List, boolean)
EntityUtil.getRelatedByAndCache(String, Map) replaced by
EntityUtil.getRelated(String, Map, List, boolean)
EntityUtil.getRelatedOrderBy(String, List) replaced by
EntityUtil.getRelated(String, Map, List, boolean)
EntityUtil.getRelatedOrderByCache(String, List) replaced by
EntityUtil.getRelated(String, Map, List, boolean)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343532 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:21:38 +00:00
Adam Heath
123e69b53f
DEPRECATION: specialpurpose: GenericValue.getRelated(ByAnd|OrderBy)(|Cache)
...
replaced by the single getRelated variant.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343530 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:21:13 +00:00
Adam Heath
eea25bda04
DEPRECATION: specialpurpose/workflow: GenericValue.getRelated/getRelatedCache variants replaced with a getRelated that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343525 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:20:13 +00:00
Adam Heath
0367221f07
DEPRECATION: specialpurpose/scrum: GenericValue.getRelated/getRelatedCache variants replaced with a getRelated that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343524 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:20:04 +00:00
Adam Heath
e92d3a52f4
DEPRECATION: specialpurpose/projectmgr: GenericValue.getRelated/getRelatedCache variants replaced with a getRelated that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343523 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:19:56 +00:00
Adam Heath
fc00ab4926
DEPRECATION: specialpurpose/pos: GenericValue.getRelated/getRelatedCache variants replaced with a getRelated that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343522 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:19:47 +00:00
Adam Heath
b474257971
DEPRECATION: specialpurpose/googlecheckout: GenericValue.getRelated/getRelatedCache variants replaced with a getRelated that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343521 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:19:40 +00:00
Adam Heath
803003dd88
DEPRECATION: specialpurpose/ecommerce: GenericValue.getRelated/getRelatedCache variants replaced with a getRelated that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343520 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:19:33 +00:00
Adam Heath
0019fcc75e
DEPRECATION: specialpurpose/ebaystore: GenericValue.getRelated/getRelatedCache variants replaced with a getRelated that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343519 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:19:23 +00:00
Adam Heath
fa6d58e5ed
DEPRECATION: specialpurpose/workflow: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343503 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:16:20 +00:00
Adam Heath
ad86a2b8ab
DEPRECATION: specialpurpose/webpos: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343502 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:16:10 +00:00
Adam Heath
b777ce3930
DEPRECATION: specialpurpose/scrum: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343501 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:16:02 +00:00
Adam Heath
249d62d4ea
DEPRECATION: specialpurpose/projectmgr: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343500 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:15:53 +00:00
Adam Heath
66f7a6d12f
DEPRECATION: specialpurpose/pos: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343499 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:15:43 +00:00
Adam Heath
4f908eefef
DEPRECATION: specialpurpose/oagis: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343498 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:15:36 +00:00
Adam Heath
6b73b95a46
DEPRECATION: specialpurpose/googlecheckout: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343497 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:15:27 +00:00
Adam Heath
57b3d7a0a0
DEPRECATION: specialpurpose/googlebase: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343496 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:15:20 +00:00
Adam Heath
c244b122b5
DEPRECATION: specialpurpose/ecommerce: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343495 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:15:07 +00:00
Adam Heath
5dcddcaa72
DEPRECATION: specialpurpose/ecommerce: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343493 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:14:59 +00:00
Adam Heath
942a106fa0
DEPRECATION: specialpurpose/ebaystore: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343492 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:14:37 +00:00
Adam Heath
8334813120
DEPRECATION: specialpurpose/assetmaint: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343491 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:14:29 +00:00
Adam Heath
e471b1ba67
FORMATTING: Add final trailing newlines.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343473 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:10:28 +00:00
Jacques Le Roux
65cd5c454e
Closes "Move SHARK to Attic" https://issues.apache.org/jira/browse/OFBIZ-4795
...
These were missing in r1343064 (used * in Eclipse search, needed *.*)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343065 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 16:00:17 +00:00
Jacques Le Roux
ceb46d0bb7
Closes "Move SHARK to Attic" https://issues.apache.org/jira/browse/OFBIZ-4795
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343064 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 15:47:32 +00:00
Jacques Le Roux
3f093889b9
Replaces all remaining title="${uiLabelMap.CommonEmptyHeader}" by title=" ", and specific case in ListPartyCommEvents
...
This closes the CommonEmptyHeader chapter
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343016 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 08:41:47 +00:00
Adrian Crum
20994e6381
Fixed a bug in an eCommerce Freemarker template - https://issues.apache.org/jira/browse/OFBIZ-4899 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1342852 13f79535-47bb-0310-9956-ffa450edef68
2012-05-26 04:32:22 +00:00
Jacopo Cappellato
39419bf4e1
Removed unused handler definitions and a useless comment.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1342305 13f79535-47bb-0310-9956-ffa450edef68
2012-05-24 15:50:57 +00:00
Jacques Le Roux
8f0f2442fd
2 missing ASL2 headers, while at it...
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1341399 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 10:57:13 +00:00
Hans Bakker
96d7c6ae2f
add account activation email type to product store which can be used for the to be approved registrations
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1341341 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 08:03:02 +00:00
Adam Heath
9651d8a4ac
FIX: Replace BeansWrapper.getDefaultInstance() with
...
FreeMarkerWorker.getDefaultOfbizWrapper(); these were missed in
v1340631.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1341053 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 14:39:59 +00:00
Jacques Le Roux
fbf9f8d1a8
A patch from Ankit Jain "Split Into Multiple Shipment Button is not working in Order Manager quick checkout" https://issues.apache.org/jira/browse/OFBIZ-4866
...
Split Into Multiple Shipment Button is not working on quick checkout page
jleroux: part the current known issue with Freemarker and findByAnd(), it works well on both sides (Order Manager and eCommerce)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1340415 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 11:13:38 +00:00
Jacques Le Roux
7462f231b3
Adrian suggested to removes all default-widget-style="tabletext": <<That style was removed from the stylesheet in 2007. All references to it should be removed.>>
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1340388 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 09:38:25 +00:00
Jacques Le Roux
0d0cae1c78
Adrian suggested to removes all default-tooltip-style="tabletext": <<That style was removed from the stylesheet in 2007. All references to it should be removed.>>
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1340387 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 09:37:35 +00:00
Jacques Le Roux
3e364b2048
Adrian suggested to removes all class="tabletext": <<That style was removed from the stylesheet in 2007. All references to it should be removed.>>
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1340386 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 09:35:12 +00:00
Jacques Le Roux
223ce379eb
Adrian suggested to removes all widget-style="tabletext": <<That style was removed from the stylesheet in 2007. All references to it should be removed.>>
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1340385 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 09:32:48 +00:00
Jacques Le Roux
61a5dd9bd9
Replaces title="${uiLabelMap.CommonEmptyHeader}" by title=" " where it's known to not be a problem. Here with links styled by widget-style="linktext"
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1340376 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 08:50:49 +00:00
Jacques Le Roux
ad6ffa8be0
Replaces title="${uiLabelMap.CommonEmptyHeader}" by title=" " where it's known to not be a problem. Here with links styled by widget-style="smallSubmit"
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1340374 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 08:48:24 +00:00
Jacques Le Roux
127e509288
Replaces title="${uiLabelMap.CommonEmptyHeader}" by title=" " where it's known to not be a problem. Here with links styled by widget-style="buttontext"
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1340373 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 08:45:18 +00:00
Jacopo Cappellato
1820bc4ede
Completed refactoring/cleanup of captcha implementation that now supports screens with more than one captcha in them.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1338700 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 13:31:15 +00:00
Jacques Le Roux
3c34229687
A patch from Pierre Smits "Project resource overview doesn't show the resources with a thru-date before the current date." https://issues.apache.org/jira/browse/OFBIZ-4853
...
When a project manager expires the assignment of a resource by clicking the delete button in the Project Resources overview the resource is deleted from the overview. It should be that the resource is still shown in the overview with the tru-date visible.
Otherwise there will be a discrepancy between the overview of resources of the project and the project dashboard.
The name of the button is also wrong. It should state 'expire' not 'delete'.
jleroux: I have also created a new label FormFieldTitle_expireButton copying labels from CommonExpire. I saw that labels where not sorted at all so I used Labels Manager for that. I put back CommonEmptyHeaderby hand. I will soon fix this issue. So, apart the sort changes, there is also a lot of false changes in CommonUiLabels.xml because Labels Manager now uses the right way for Language Identification: http://www.w3.org/TR/REC-xml/#sec-lang-tag (ie a - separate language from country instead of previously a _)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1338695 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 13:27:54 +00:00
Adam Heath
2551d29ca1
DEPRECATION: specialpurpose/scrum: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1338423 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:03:38 +00:00