Adrian Crum
00644c541e
Improved Mini-language <script> element - allow execution of inline scripts in addition to external scripts, matching the <call-bsh> behavior.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1353284 13f79535-47bb-0310-9956-ffa450edef68
2012-06-24 15:25:30 +00:00
Jacques Le Roux
2cf0faf52c
Closes "Login out on a cluster handled by DeltaManager causes a NPE" https://issues.apache.org/jira/browse/OFBIZ-4289
...
Removes all changes related to this issue. We will see later if ever it proves to be a real issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1353135 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 14:57:18 +00:00
Jacopo Cappellato
15fe323128
Removed some junk and unused code left over after the commit:
...
Author: jleroux
Date: Fri Jun 3 19:05:07 2011
New Revision: 1131144
was "reverted" as part of:
Author: jleroux
Date: Fri Sep 23 19:22:40 2011
New Revision: 1174964
The code is still broken.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1353094 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 08:33:01 +00:00
Sascha Rodekamp
2297052c0c
Refactoring fieldlookup.js - step one.one: moving some methods
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352861 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 12:17:20 +00:00
Sascha Rodekamp
38abbfc4c2
Refactoring fieldlookup.js - step one: restructuring the lookup object, encapsulate some methods in objects
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352804 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 08:48:58 +00:00
Hans Bakker
4b8a5ac0fb
corrected coding error in last commit spotted by Jacopo
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352774 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 05:47:20 +00:00
Hans Bakker
c512dddd02
allow ACCOUNTING_ADMIN also to do PAYPROC_ADMIN
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352769 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 04:12:11 +00:00
Hans Bakker
f3582a54e4
allow ACCOUNTING_ADMIN also to do MANUAL_PAYMENT
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352768 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 04:04:50 +00:00
Jacopo Cappellato
db5be508a8
Removed unnecessary synchronized blocks; made UtilCache objects private and final.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352592 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 16:12:59 +00:00
Jacopo Cappellato
6684c46b74
Improved memory usage information in the webtools->cache screen: the approx size in bytes is now shown for each cache in the list and the total memeory used by caches is also reported at the top of the screen.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352578 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 15:46:49 +00:00
Jacopo Cappellato
665e81597a
Improved information logged when the method is unable to compute the approximate byte size of a cached object using serialization: instead of a useless stack trace it is returned an informative message with the name of the class that is not serializable; in case of null objects a message is also logged.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352575 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 15:42:45 +00:00
Jacopo Cappellato
5cb3561232
Fixed bug discovered while analyzing content of caches (found null objects instead of parsed scripts).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352539 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 14:14:21 +00:00
Hans Bakker
7e5c9958a5
manual payment is used: reverting r1352439
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352441 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 08:03:11 +00:00
Hans Bakker
66d5f75d5e
removed unused security permission: MANUAL_PAYMENT
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352439 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 07:52:23 +00:00
Hans Bakker
bd16dfb598
split up securitypermissions as seed data and securitygroups as demo data with a single exception: the creation of a super security group which has general access to the system and which is used with the 'ant create-admin-user-login' command.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352431 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 07:21:49 +00:00
Jacopo Cappellato
99d58d0330
Implemented screen that shows details about JobSandbox records, including their input data (RuntimeData.runtimeInfo deserialized) if available.
...
)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352171 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 15:53:39 +00:00
Jacopo Cappellato
a9a1bc5f24
When an IOException error happens while communicating with the browser (for example when the user closes the browser window before the page is returned) there is no need to attempt to render the error page; this was causing two error stack traces in the logs every time a connection was aborted; improved logging for this event.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1351999 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 09:00:26 +00:00
Jacopo Cappellato
3688639a2d
Fixed typo in comment.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1351955 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 07:03:21 +00:00
Hans Bakker
26eb43592b
re-installed locale lookup with an appropriate fix: adding the locale search
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1351928 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 03:17:59 +00:00
Jacopo Cappellato
3c0b58d8e6
Setting a default value of DeltaManager was causing a side effect: the method setWebContextObjects was always invoked with the persistSerialized argument set to false; this was causing a series of issues (including one reported recently happening when two users login/logout to the same application from the same browser and visit another application).
...
The commit when this bug was introduced is:
Author: jleroux
Date: Mon Jun 6 20:26:35 2011
New Revision: 1132749
and unfortunately the revision was backported to the release branches; the commit may have introduced other issues but I can't review it now.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1351778 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 17:14:14 +00:00
Jacopo Cappellato
0faee1b07e
Trivial change to make to avoid to perform a series of useless method calls when the security object is not in the context.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1351777 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 16:53:03 +00:00
Jacopo Cappellato
f3da3c9e6a
Upgrade of Tomcat from 7.0.27 to 7.0.28; also renamed the jars containing j2ee specification apis: there was no need to append the tomcat version because they don't change in all the 7.0 releases; instead I have added a suffix to better expose the specification version.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1351734 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 14:57:25 +00:00
Sascha Rodekamp
16c1fd47d9
Upgrade the datetime picker to version 1.0 and remove the old libraries
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1351638 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 10:11:59 +00:00
Sascha Rodekamp
56c2c6123a
Reverting the local lookups which where introduced in Rev 1124153.
...
The locales are not searchable because they come from a property file and not from the database. It's more handy to have a drop down list instead of a lookup for them.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1351614 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 09:13:09 +00:00
Sascha Rodekamp
98a21f4afe
Upgrade jQuery lib to 1.7.2
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1351605 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 08:49:53 +00:00
Hans Bakker
9607b08c5c
Removed unused SHIPRATE_* security
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1351587 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 07:07:01 +00:00
Sascha Rodekamp
731215cd7b
Contact List Lookup is not working in catalog for products. ( https://issues.apache.org/jira/browse/OFBIZ-4633 ), a patch from Arpit Singh Pandya: Contact List Lookup is not working in catalog for product in Communications tab, when creating new Communication Event for new product. I have tested it on local and on demo-trunk, not sure about other versions.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1351584 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 06:52:52 +00:00
Hans Bakker
5ea30aab8f
tenant data in the entity component is meant for demo, so demo data. comment from Adam
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1351213 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 06:40:31 +00:00
Hans Bakker
14f4e5a292
reverted recent security file changes revisions: 1350847,1350843,1350840,1348534,1347908,1347213,1346264, need more investigation
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1351206 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 04:36:20 +00:00
Hans Bakker
3bc59dc7ae
corrected misplaced ant echo messages
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1350847 13f79535-47bb-0310-9956-ffa450edef68
2012-06-16 03:02:57 +00:00
Hans Bakker
82dfbe701e
move service security data to seed data
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1350843 13f79535-47bb-0310-9956-ffa450edef68
2012-06-16 02:51:18 +00:00
Hans Bakker
a64d64b80a
Some security data is really seed data, added informational messages to indicate security data is not loaded when selected seed
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1350840 13f79535-47bb-0310-9956-ffa450edef68
2012-06-16 02:32:04 +00:00
Ashish Vijaywargiya
ca88d36173
Removed not needed attribute(i.e path="").
...
Thanks Aman.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1350714 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 17:31:08 +00:00
Adrian Crum
f6c8a9741a
Deprecated MethodOperation.expandString and MethodOperation.rawString methods, moved their implementations from subclasses to the MethodOperation class.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1350375 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 19:05:13 +00:00
Ashish Vijaywargiya
48b9e8483e
Applied bug fix from jira issue - OFBIZ-4933 - Add/Update order item does not accept the negative quantity.
...
When user update the order item and enter the negative item quantity then system should throw an error message.
Thanks Deepak!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1350368 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 18:42:38 +00:00
Ashish Vijaywargiya
b79267a6b5
Applied bug fix from jira issue - OFBIZ-4918 - Not able to add party rate.
...
User does not able to add party rate via Rate screen.
https://demo-trunk.ofbiz.apache.org/partymgr/control/EditPartyRates?partyId=admin
Thanks Deepak!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1350363 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 18:32:59 +00:00
Ashish Vijaywargiya
31042cd2dc
Applied bug fix from jira issue - OFBIZ-4907 - Invalid relation name status item for Production Run.
...
Could not find relation for relationName: StatusItem for value [GenericEntity:WorkEffort]
Thanks Deepak for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1350356 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 18:20:02 +00:00
Adrian Crum
05e8237049
Mini-language API cleanup - removed ContextAccessor.java that is no longer used, and simplified the MethodContext.java API. With this commit all script behavior has been moved to the model classes, and all script state is contained in MethodContext.java.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1350354 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 18:11:18 +00:00
Adrian Crum
b44c8ee752
Overhauled Mini-language <property-to-field> element.
...
The overhaul includes: removing unnecessary object creation, make the class thread-safe, add syntax validation, and misc code cleanups.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1350337 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 17:00:53 +00:00
Adrian Crum
9538d837db
Overhauled Mini-language <calculate> element.
...
The overhaul includes: removing unnecessary object creation, make the class thread-safe, add syntax validation, and misc code cleanups.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1350214 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 12:36:25 +00:00
Adrian Crum
ada9b6e78a
Fixed a bug in DateTimeConverters.java where the wrong converter was being selected. The bug was due to class detection in the java.util.Date hierarchy - so the fix uses explicit classes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1350081 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 03:32:18 +00:00
Adrian Crum
cbf0c9bc0b
Overhauled Mini-language <field-to-request>, <field-to-session>, <request-parameters-to-list>, <request-to-field>, <session-to-field>, <webapp-property-to-field> elements.
...
The overhaul includes: removing unnecessary object creation, make the class thread-safe, add syntax validation, and misc code cleanups.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1349819 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 13:01:18 +00:00
Adrian Crum
405f59615f
Overhauled Mini-language <order-map-list>, <set-calendar>, <string-append>, <string-to-list>, <to-string> elements. Added a format attribute to the <set> element - to be used for type conversions. Also removed deprecated StringToField class.
...
The overhaul includes: removing unnecessary object creation, make the class thread-safe, add syntax validation, and misc code cleanups.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1349646 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 06:04:49 +00:00
Adrian Crum
f299117fba
Overhauled Mini-language <clear-field>, <create-object>, <field-to-list>, <first-from-list>, <list-to-list>, <map-to-map> elements.
...
The overhaul includes: removing unnecessary object creation, make the class thread-safe, add syntax validation, and misc code cleanups.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1349182 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 08:16:03 +00:00
Jacopo Cappellato
a4cd2c657b
Removed two entries for jar removed when I removed jcr component a few days ago; thanks to Francis Andre for the report OFBIZ-4930
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1348869 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 14:35:03 +00:00
Erwan de Ferrieres
ef6659b091
Using labels for product promo codes creation
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1348805 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 11:42:37 +00:00
Erwan de Ferrieres
ecfca3d8c0
Adding missing French translations for promo code screen
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1348804 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 11:39:46 +00:00
Adrian Crum
03271eee55
Overhauled Mini-language <set-current-user-login>, <set-nonpk-fields>, <set-pk-fields>, <store-list>, <store-value>, <transaction-begin>, <transaction-commit>, <transaction-rollback> elements.
...
The overhaul includes: removing unnecessary object creation, make the class thread-safe, add syntax validation, and misc code cleanups.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1348620 13f79535-47bb-0310-9956-ffa450edef68
2012-06-10 16:21:41 +00:00
Jacques Le Roux
c78b9f662c
Moves addMostRecent services to Attic
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1348546 13f79535-47bb-0310-9956-ffa450edef68
2012-06-10 08:04:39 +00:00
Hans Bakker
ecd7efdb2a
security file with wrong reader-type
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1348534 13f79535-47bb-0310-9956-ffa450edef68
2012-06-10 06:22:13 +00:00