Adam Heath
c7f9a6a9c6
DEPRECATION: specialpurpose/oagis: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338420 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:03:11 +00:00
Adam Heath
dfd81ab5ff
DEPRECATION: specialpurpose/hhfacility: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338419 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:03:05 +00:00
Adam Heath
c3f3334a3e
DEPRECATION: specialpurpose/googlecheckout: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338418 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:02:59 +00:00
Adam Heath
7e9d1dc573
DEPRECATION: specialpurpose/googlebase: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338416 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:02:53 +00:00
Adam Heath
ebc6d555f7
DEPRECATION: specialpurpose/ecommerce: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338415 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:02:45 +00:00
Adam Heath
15140c2b1a
DEPRECATION: specialpurpose/ebaystore: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338414 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:02:33 +00:00
Adam Heath
5cab9de4ba
DEPRECATION: specialpurpose/ebay: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338413 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:02:19 +00:00
Adam Heath
f1885afe82
DEPRECATION: applications/workeffort: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338412 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:02:12 +00:00
Adam Heath
fe7534664b
DEPRECATION: applications/product: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338411 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:02:02 +00:00
Adam Heath
ada056bd2a
DEPRECATION: applications/party: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338410 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:01:36 +00:00
Adam Heath
5824c8f1f0
DEPRECATION: applications/order: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338409 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:01:18 +00:00
Adam Heath
ad73b910ef
DEPRECATION: applications/manufacturing: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338408 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:00:57 +00:00
Adam Heath
ed5c90c45e
DEPRECATION: applications/humanres: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338407 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:00:43 +00:00
Adam Heath
b0a3703c6b
DEPRECATION: applications/content: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338406 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:00:34 +00:00
Adam Heath
7598f3ada1
DEPRECATION: applications/commonext: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338405 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:00:21 +00:00
Adam Heath
dc171aa56f
DEPRECATION: applications/accounting: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338404 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:00:14 +00:00
Adam Heath
9e5f405a4d
DEPRECATION: framework: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338403 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 20:59:54 +00:00
Adam Heath
321196326a
OPTIMIZE: One findByAnd call was calling another findByAnd, instead of
...
calling findList directly. This change should speed it up(just
slightly).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338402 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 20:59:26 +00:00
Adam Heath
14db0dbfda
DEPRECATION: Add new findByAnd variant, that has a boolean useCache
...
parameter; this is the same similiar pattern that other methods have.
After all code has been modified to use this new method, the older
methods will be deprecated(and eventually replaced).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338400 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 20:59:20 +00:00
Adrian Crum
bac00c1ea3
Fixed a bug in Mini-language <field-to-result> element where nested expressions were not evaluated correctly.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338394 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 20:49:01 +00:00
Adrian Crum
f09c0db4d1
Change new FlexibleMapAccessor static method to an object method.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338372 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 19:57:25 +00:00
Adam Heath
74a955f769
TYPO: s/shopinglisttests/shoppinglisttests/
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338371 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 19:52:32 +00:00
Adam Heath
399578933f
FORMATTING: Add some missing final newlines.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338370 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 19:52:26 +00:00
Adrian Crum
b4c01f24ff
Small fixup for my last commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338366 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 19:45:20 +00:00
Adrian Crum
025a75b632
Added a utility method to FlexibleMapAccessor.java to test for nested expressions.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338361 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 19:43:18 +00:00
Adrian Crum
e3d62b1f76
Updated Mini-language schema.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338345 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 19:04:01 +00:00
Jacopo Cappellato
cef1cccf82
OFBIZ-4864
...
* enabled by default the DebugManagedDataSource wrapper around ManagedDataSource
* enhanced the DebugManagedDataSource wrapper to:
** print log messages only at verbose level (instead of always as it was before)
** if possible print additional information about the connection status
** added new method that returns information about the connection pool settings/status
* added new static method to DBCPConnectionFactory to return information about the pools
* new screen in the webtools where information about each pool/helper is shown
The information provided by the screen can be very useful to analyze the status of the connection pools.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338230 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 14:45:43 +00:00
Jacopo Cappellato
4fe09a970a
Fix for wrong operation name returned by the FieldToResult.toString(...) method.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338224 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 14:36:54 +00:00
Adrian Crum
acfd2c2844
Revert revision 1337518 - the Mini-language comparison elements have been fixed, so the changes are not needed.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338213 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 14:13:08 +00:00
Adrian Crum
19fea3bcfc
Modified the Mini-language comparison elements:
...
1. Moved comparison logic from ObjectType.java to the minilanguage component and improved it to be more modular.
2. Moved object type conversion from ObjectType.java to the minilanguage component and simplified it.
3. Modified comparison elements to use new comparison logic and object type conversion.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338212 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 14:11:33 +00:00
Jacques Le Roux
ef02599c23
Removes the ij.script and derbytools-10.8.2.2.jar.
...
Reasons for this:
* no active committer was maintaining it
* it's maintained by the Derby project, see http://db.apache.org/derby/docs/dev/tools/ for details
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338173 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 12:03:58 +00:00
Jacques Le Roux
364c0fe88a
Complete r1338065, the same message existed in fieldlookup.js
...
Also no needs to i18n such error messages, I removed the //TODO
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338101 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 09:15:10 +00:00
Jacques Le Roux
29c03cda16
A patch from Amardeep Singh Jhajj "Ajax autocomplete error while adding 1st item in order manager order creation" https://issues.apache.org/jira/browse/OFBIZ-4867
...
I found the small bug that when ajax request is aborted in autocompleter, the alert box is opened with message
- An error occurred while communicating with the server:
reason=abort
exception=abort.
Hence, I have added a check to handle ajax abort exception in such case.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338065 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 08:51:08 +00:00
Hans Bakker
02239972c4
fix remove image in image management
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338025 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 03:15:43 +00:00
Jacques Le Roux
3735ff98ed
OFBIZ-4833 "Housekeeping of jar files"
...
Makes all remaining jar marked as svn binary
Note: I could not apply it to ofbiz-tools.jar (still there after an ant clean, normal?) and cobertura-1.9.3.jar (not sure why)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1337809 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 08:30:39 +00:00
Jacopo Cappellato
e810344092
removed redundant request entry (the entry is defined in common-controller.xml).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1337800 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 08:01:28 +00:00
Jacopo Cappellato
53d6c971e9
Improved implementation of concurrent access to the cache of parsed Groovy scripts to avoid the risk of a NPE in the unlucky event that, between the execution of the cache.putIfAbsent and cache.get methods, the cache entry was removed (e.g. cache cleared/expired).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1337789 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 07:16:18 +00:00
Adam Heath
2b3fdc9379
Deprecate Delegator.findByPrimaryKey and Delegator.findByPrimaryKeyCache.
...
Ofbiz is moving towards simpler delegator apis; this means all
'fooCache' variants are removed(and their matching 'foo' method), and a
new version of 'foo' added that takes a boolean cache parameter.
Delegator.findByPrimaryKey(String, Map) is replaced with
findOne(String, Map, false).
Delegator.findByPrimaryKeyCache(String, Map) is replaced with
findOne(String, Map, true).
Delegator.findByPrimaryKey(String, Object...) is replaced with
findOne(String, false, Object...).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1337688 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:22:26 +00:00
Adam Heath
cec82fce00
DEPRECATION: themes/tomahawk: findByPrimaryKey variants replaced with findOne
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1337687 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:22:20 +00:00
Adam Heath
00784ac3d5
DEPRECATION: specialpurpose/workflow: findByPrimaryKey variants replaced
...
with findOne
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1337686 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:22:14 +00:00
Adam Heath
689bcc8e9f
DEPRECATION: specialpurpose/webpos: findByPrimaryKey variants replaced with findOne
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1337685 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:22:06 +00:00
Adam Heath
5c3ab6df3c
DEPRECATION: specialpurpose/shark: findByPrimaryKey variants replaced
...
with findOne
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1337684 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:22:00 +00:00
Adam Heath
13fdbc4802
DEPRECATION: specialpurpose/scrum: findByPrimaryKey variants replaced
...
with findOne
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1337683 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:21:48 +00:00
Adam Heath
5b898a4da1
DEPRECATION: specialpurpose/projectmgr: findByPrimaryKey variants
...
replaced with findOne
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1337682 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:21:37 +00:00
Adam Heath
7ec4081ede
DEPRECATION: specialpurpose/pos: findByPrimaryKey variants replaced with
...
findOne
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1337681 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:21:31 +00:00
Adam Heath
3dbd81cc21
DEPRECATION: specialpurpose/oagis: findByPrimaryKey variants replaced
...
with findOne
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1337679 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:21:24 +00:00
Adam Heath
06dd72b7f8
DEPRECATION: specialpurpose/googlebase: findByPrimaryKey variants
...
replaced with findOne
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1337678 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:21:16 +00:00
Adam Heath
696b181f9c
DEPRECATION: specialpurpose/ecommerce: findByPrimaryKey variants
...
replaced with findOne
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1337677 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:21:05 +00:00
Adam Heath
c8d6bbdae0
DEPRECATION: specialpurpose/ebaystore: findByPrimaryKey variants
...
replaced with findOne
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1337675 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:20:48 +00:00
Adam Heath
4a13618550
DEPRECATION: specialpurpose/ebay: findByPrimaryKey variants replaced
...
with findOne
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1337674 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:20:38 +00:00