Jacopo Cappellato
46dec2f2bd
Removed some not required code and made some field final; however the class is still thread unsafe.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1620656 13f79535-47bb-0310-9956-ffa450edef68
2014-08-26 16:49:51 +00:00
Jacopo Cappellato
0574a1d798
Removed unused/unnecessary code from ServerHitBin; no functional changes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1620648 13f79535-47bb-0310-9956-ffa450edef68
2014-08-26 16:18:06 +00:00
Jacopo Cappellato
8390460a89
This was probably a bug due to copy-and-paste.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1620633 13f79535-47bb-0310-9956-ffa450edef68
2014-08-26 15:20:59 +00:00
Jacopo Cappellato
6577a5b203
Moved the definition of public static maps at the top of the ServerHitBin class.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1620617 13f79535-47bb-0310-9956-ffa450edef68
2014-08-26 14:49:33 +00:00
Jacopo Cappellato
03a947f506
Made some methods in ServerHitBin private; moved the position of sevaral methods (no functional changes).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1620616 13f79535-47bb-0310-9956-ffa450edef68
2014-08-26 14:47:33 +00:00
Jacopo Cappellato
27af86459c
First pass in the cleanup of the ServerHitBin class: made private a bunch of fields and methods, removed some unused fields and methods.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1620611 13f79535-47bb-0310-9956-ffa450edef68
2014-08-26 14:37:15 +00:00
Jacopo Cappellato
7495a309d6
Small optimization: instead of calling the InetAddress.getLocalHost() method every time a ServerHitBin record is created, use the address provided by VisitHandler.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1620571 13f79535-47bb-0310-9956-ffa450edef68
2014-08-26 11:14:15 +00:00
Jacopo Cappellato
5d2d659d39
Small optimization: instead of calling the InetAddress.getLocalHost() method every time a ServerHit is created, use the address provided by VisitHandler.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1620567 13f79535-47bb-0310-9956-ffa450edef68
2014-08-26 11:02:05 +00:00
Jacopo Cappellato
c00fc92699
Merged framework-api-cleanup branch into trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1620538 13f79535-47bb-0310-9956-ffa450edef68
2014-08-26 09:16:52 +00:00
Jacopo Cappellato
be81ed385d
Small optimization: instead of calling the InetAddress.getLocalHost() method every time a Visit is created, do it once when the class is loaded.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1620525 13f79535-47bb-0310-9956-ffa450edef68
2014-08-26 08:02:29 +00:00
Jacopo Cappellato
21d3cc70e3
Removed/simplified applications code that was checking the serverstats properties to log some warning messages about vist/visitor tracking being disabled: this is not required since the warnings are already generated by the VisitHandler.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1620514 13f79535-47bb-0310-9956-ffa450edef68
2014-08-26 05:50:50 +00:00
Adrian Crum
d81823384d
Small code cleanup in UtilCache.java.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1620249 13f79535-47bb-0310-9956-ffa450edef68
2014-08-25 00:37:24 +00:00
Adrian Crum
227ba5f9db
Small improvement to UtilCache - allow a component to specify its own cache settings file.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1620244 13f79535-47bb-0310-9956-ffa450edef68
2014-08-25 00:02:45 +00:00
Adrian Crum
c63cb8c89e
Better encapsulation of entity engine multitenant setting.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1620120 13f79535-47bb-0310-9956-ffa450edef68
2014-08-24 10:27:24 +00:00
Jacopo Cappellato
10aceb0cfe
Trivial fix to a log statement.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1619799 13f79535-47bb-0310-9956-ffa450edef68
2014-08-22 13:12:51 +00:00
Jacopo Cappellato
52d0dc1568
Upgraded Derby (embedded dbms) to the latest bug fix release 10.10.2.0
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1619319 13f79535-47bb-0310-9956-ffa450edef68
2014-08-21 09:16:40 +00:00
Jacopo Cappellato
38b7048581
Upgraded two j2ee spec jars from Geronimo.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1619300 13f79535-47bb-0310-9956-ffa450edef68
2014-08-21 07:30:06 +00:00
Christian Geisert
e8402b8164
OFBIZ-5514 correct calculation of seconds (instead of minutes) in EntitySyncServices.cleanSyncRemoveInfo(). Thanks to Roberto Benítez Monje for reporting
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1619098 13f79535-47bb-0310-9956-ffa450edef68
2014-08-20 13:28:06 +00:00
Jacopo Cappellato
6b34bcf53f
Updated jar in .classpath file after upgrade to Log4j2; thanks to Deepak Dixit for the report.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1619087 13f79535-47bb-0310-9956-ffa450edef68
2014-08-20 12:18:59 +00:00
Jacopo Cappellato
eac2fc7975
Removed reference to a jar file removed with the upgrade to Log4j2
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1619038 13f79535-47bb-0310-9956-ffa450edef68
2014-08-20 06:54:32 +00:00
Jacopo Cappellato
d8c412302f
OFBIZ-5287: Upgrade to Log4j2
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618831 13f79535-47bb-0310-9956-ffa450edef68
2014-08-19 10:36:01 +00:00
Jacques Le Roux
abaf31653f
Useful comment I forgot to commit with r1612202
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618574 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 10:25:34 +00:00
Jacques Le Roux
817cd610e7
[Rhino] Trailing comma is not legal in an ECMA-262 object initializer
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618570 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 10:17:45 +00:00
Ashish Vijaywargiya
418d836a53
Based on Adrian's recent comment, committing the changes from OrderReturnServices.xml file. Thanks ofbiz.us team for providing updated patch.
...
==============================================================
Please do not use the <calculate> element. Mini-language supports UEL:
<set field="totalsMap[receipt.returnItemSeqId]" from="receipt.quantityAccepted + receipt.quantityRejected />
Also, the <set> element "from-field" attribute has been deprecated, use "from".
Mini-language has an updated schema, it would be best if you configured your XML editor to use it.
==============================================================
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618569 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 10:10:57 +00:00
Ashish Vijaywargiya
8c673dff9e
Applied fix for jira issue OFBIZ-5719 - Error to use <#if serviceParameter.value!> in setServiceParameterSync.ftl.
...
Thanks Wei for reporting the issue and providing the details for the fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618537 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 05:00:29 +00:00
Adrian Crum
3fbbbd685a
Remove console warnings related to method deprecation, https://issues.apache.org/jira/browse/OFBIZ-5718 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618459 13f79535-47bb-0310-9956-ffa450edef68
2014-08-17 06:05:50 +00:00
Adrian Crum
14a110880b
Fix grammar in service error message.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618458 13f79535-47bb-0310-9956-ffa450edef68
2014-08-17 05:52:19 +00:00
Ashish Vijaywargiya
03257ca2a9
Applied patch from jira issue - OFBIZ-3566 - EcommerceUiLabels references in applications/*
...
Thanks Adam Heath for reporting the issue and team ofbiz.us for providing the fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618415 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 20:53:55 +00:00
Ashish Vijaywargiya
8375e62731
Applied fix from jira issue - OFBIZ-5392 - Return Item received quantity does not updated correctly in case of partial receiving.
...
Thanks Deepak for reporting the issue and team ofbiz.us for providing the fix for the same.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618412 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 20:41:54 +00:00
Anil Patel
6e9e7586c8
[OFBIZ-4459] call to Quickshipdrop should be make on approved orders. Thanks to Kiran Gawde and ofbiz.us team for contributions.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618411 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 20:40:20 +00:00
Ashish Vijaywargiya
7fb814e5c6
Applied patch from jira issue - OFBIZ-5716 - Gift card fullfillment service is not getting triggered.
...
Thanks ofbiz.us team for reporting the issue and providing the fix for the same.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618409 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 20:22:56 +00:00
Anil Patel
c2feebdb00
[OFBIZ-5715] good usability fix. Thanks for help.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618407 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 19:52:24 +00:00
Ashish Vijaywargiya
039c228edc
Applied patch from jira issue - OFBIZ-5480 - Product Costs page missing lookup controls in creation section.
...
Thanks Christian Carlow for reporting the issue and thanks to ofbiz.us team for providing patch for the issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618406 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 19:45:41 +00:00
Ashish Vijaywargiya
2c37d26344
Applied fix from jira issue - OFBIZ-4209 - Incorrect logging for InvoiceServices, OrderServices and QuoteServices.
...
Thanks Rene Scheibe for reporting the issue and providing the fix for the same. Thanks ofbiz.us team for the verification.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618399 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 19:00:05 +00:00
Anil Patel
e321edcada
[OFBIZ-5690] Fixed email issue. Thanks for help.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618397 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 18:43:13 +00:00
Anil Patel
db58c60d0c
[OFBIZ-5456] Reading Logo SystemProperty from database. Tested for working in Multi tenant deployment.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618395 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 18:32:50 +00:00
Anil Patel
6598ed831d
[OFBIZ-5424] Now creating status items for promotion order items. Thanks Christian Carlow for reporting the issue and ofbiz.us team for the fix.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618378 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 16:02:32 +00:00
Ashish Vijaywargiya
0dff62e4e9
Reverting the changes that I mistakenly committed in trunk r1618325.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618368 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 14:43:05 +00:00
Anil Patel
495dab207d
[OFBIZ-5515] Thanks Christian Carlow for reporting the issue and ofbiz.us team for the fix.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618365 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 14:21:28 +00:00
Ashish Vijaywargiya
432a04d42f
Applied patch for bug fix reported in jira task at OFBIZ-4973 - AvsSettings screenlet read data bug, entity-one should be used, not entity-and.
...
Thanks Oliver for reporting the issue and providing the fix. Thanks team ofbiz.us for the verification.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618359 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 13:55:15 +00:00
Anil Patel
11172f28dc
[OFBIZ-5654] Applying patch from the ticket. Thanks Pierre Smits for reporting and ofbiz.us team for fix.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618358 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 13:50:30 +00:00
Ashish Vijaywargiya
9400eb990f
Applied patch from jira issue - OFBIZ-5455 - images not stored in SystemProperty location. Thanks Pierre for reporting the issue and thanks to ofbiz.us team for providing the fix.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618354 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 13:12:34 +00:00
Anil Patel
b85d134ff2
[OFBIZ-5655] Check not null before accessing the variable. Thanks Pierre Smits for reporting and ofbiz.us for fix.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618349 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 12:18:20 +00:00
Anil Patel
05ffd7242b
[OFBIZ-5479] Minor markup changes fix the issue. Thanks to ofbiz.us team for providing fix.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618339 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 11:43:25 +00:00
Ashish Vijaywargiya
d0566c2968
Applied the patch OFBIZ-4902_application.patch from OFBIZ-4902 - Replace in Freemarker templates the deprecated built-ins: default, exists, if_exists.
...
Thanks http://ofbiz.us team for providing the patch work.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618336 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 11:34:57 +00:00
Adrian Crum
aadc814ba3
Updated Commons CSV library to the official release version (the previous version was a release candidate).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618332 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 11:22:36 +00:00
Ashish Vijaywargiya
e4d68ed2f7
Applied the patch OFBIZ-4902_framework.patch from OFBIZ-4902 - Replace in Freemarker templates the deprecated built-ins: default, exists, if_exists.
...
Thanks http://ofbiz.us team for providing the patch work.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618325 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 10:58:51 +00:00
Anil Patel
6886a4c7b7
[OFBIZ-5656] Thanks Pierre Smits for the patch.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618316 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 08:50:31 +00:00
Ashish Vijaywargiya
aff06fcbc6
Applied the patch OFBIZ-4902_specialpurpose.patch from OFBIZ-4902 - Replace in Freemarker templates the deprecated built-ins: default, exists, if_exists.
...
Thanks http://ofbiz.us team for providing the patch work.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618313 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 08:40:28 +00:00
Anil Patel
e88dd318f7
[OFBIZ-3428] Now order entry process buttons are visible. Thanks Erwan de FERRIERES for the report and ofbiz.us team for the fix.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618311 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 06:29:33 +00:00