Adam Heath
ddd8af68ba
Need to check whether the wanted object is a Set before checking if it
...
is a Collection.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917360 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 03:10:12 +00:00
Jacques Le Roux
b632244a4f
A patch from Sascha Rodekamp "Refactor fieldlookup.js" ( https://issues.apache.org/jira/browse/OFBIZ-3491 ) - OFBIZ-3491
...
Mostly changes in the fieldlookup.js to make the code a little bit smaller.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917250 13f79535-47bb-0310-9956-ffa450edef68
2010-02-28 18:54:15 +00:00
Jacques Le Roux
292f1cda85
This allows to hide the field at left of the lookup button. It may be used to chain an action without coming back to the original place, so the field make any sense. In my case reassigning a work effort from a list.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917152 13f79535-47bb-0310-9956-ffa450edef68
2010-02-28 09:58:29 +00:00
Adrian Crum
24922db654
Created a new Java package - org.ofbiz.base.lang - which is intended to be used as a home for basic Java types. Moved some basic Java type classes into the new package.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916987 13f79535-47bb-0310-9956-ffa450edef68
2010-02-27 16:48:32 +00:00
Scott Gray
ead84f88c3
Minor code cleanup: removed unnecessary cast and changed how a static field was being accessed
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916973 13f79535-47bb-0310-9956-ffa450edef68
2010-02-27 15:40:21 +00:00
Scott Gray
6607c6b903
The following deprecated classes, constructors or methods have been removed:
...
org.ofbiz.entity.transaction.TransactionUtil.rollback(boolean)
- Use TransactionUtil.rollback(boolean, String, Throwable) instead
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916972 13f79535-47bb-0310-9956-ffa450edef68
2010-02-27 15:40:17 +00:00
Jacopo Cappellato
e31f3e84bb
Added missing BigDecimal condition required to render the content of BigDecimal fields in the "view generic" screen. OFBIZ-3522
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916925 13f79535-47bb-0310-9956-ffa450edef68
2010-02-27 08:29:21 +00:00
David E. Jones
7ea17c8489
Changed back to derby after accidental change to mysql in last commit
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916782 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 18:42:42 +00:00
David E. Jones
f67ff5da49
Changed to not try to do a distinct count by a specific column, which was introduced in rev 897605, as it seems to cause a number of problems and is a feature that probably isn't used much since it was introduced about a month ago; reintroducing this feature will require additional effort to resolve these
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916781 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 18:41:11 +00:00
Erwan de Ferrieres
88c91bd809
some comments were left in the previous commit (916646)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916649 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 11:23:00 +00:00
Erwan de Ferrieres
e2f65a76a3
Adding dependent-on on extend-entity (OFBIZ-3303)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916646 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 11:17:26 +00:00
Jacopo Cappellato
3c5a4d4764
By default, service debug is enabled; thanks to Hans Bakker for reporting this.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916634 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 10:03:45 +00:00
Jacopo Cappellato
ef3fcd2072
Added flag to switch off the debug mode for services that is causing out of memory errors for JVM PermGen space.
...
Warning: the default setting is still set to true but it is highly recommended to set it to false, especially for non-development instances (production, demo etc...).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916608 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 08:01:21 +00:00
Hans Bakker
c3038fdfe6
revert 910871 because the new itext library is not compatible with the current eclipse birt reportgenerator
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916599 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 07:40:16 +00:00
Jacopo Cappellato
880b166319
Fixed formatting, no functional change.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916586 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 06:42:05 +00:00
Hans Bakker
df4af4bd37
Ebaystore:
...
fixed error in xml form when use radio field type.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916546 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 03:01:59 +00:00
Andrew Zeneski
aeebb6b841
commented out a debug statement I left in by mistake
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916456 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 21:01:19 +00:00
Ashish Vijaywargiya
5cbccfe029
Applied patch from jira issue OFBIZ-3509 - create-component ant task creates web.xml with hardcoded values of "example" for webSiteId and localDispatcherName.
...
Thanks Chris for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916243 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 10:55:02 +00:00
David E. Jones
20117fa1d8
Fixed bug in PrimaryKeyFinder where it wasn't passing through the timeZone and the locale for conversion; the underlying code does look for the timeZonea nd locale, but they weren't there because of the way the context was setup here
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916055 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 00:20:10 +00:00
Andrew Zeneski
77ca6da64d
extend-entity can now override the default-resource-name attribute
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916049 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 23:59:58 +00:00
Adam Heath
6d55228f88
Improve generics markup, T extends Comparable<T>, which means no more
...
casting as to be done.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915686 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 05:43:41 +00:00
Adam Heath
f76ee3cb6e
Remove trailing whitespace on one line.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915685 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 05:43:12 +00:00
Adam Heath
fa7cf09752
100% coverage on ComparableRange.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915684 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 05:42:47 +00:00
Adam Heath
d6195f5508
Use assertEquals for equality tests.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915683 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 05:42:19 +00:00
Adam Heath
a6cf22123c
Move ComparableRange tests to a separate class.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915682 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 05:41:49 +00:00
Adam Heath
2ba7ff30f3
Remove unused imports.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915681 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 05:41:12 +00:00
Adam Heath
f1c942842f
Remove hard-coded BIZZNESS_TIME theme settings, so the default in
...
general.properties gets used.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915651 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 03:32:26 +00:00
Adam Heath
b0192e663c
Reverting 912645, for now, until I have time to investigate further.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915650 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 03:31:49 +00:00
David E. Jones
e72da60d42
Fixed issue where link parameters where not adjusted for TimeZone, though they are expected to be in the event processing which causes links and such with times and timestamps, and sometimes dates, to not match what they came from; now time zone adjustment is done for link parameters
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915644 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 02:31:37 +00:00
Bilgin Ismet Ibryam
149a5a0909
Allow hiding header for multi forms.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915516 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 20:59:31 +00:00
Jacques Le Roux
90cb99c795
To be consistent with r915397 which switched default theme to TOMAHAWK.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915461 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 18:08:24 +00:00
Adam Heath
805a09f182
Switch default theme to TOMAHAWK.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915397 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 15:46:24 +00:00
Adam Heath
93abf2ade9
Remove dead code; FMA has 100% coverage now.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915396 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 15:45:16 +00:00
Adam Heath
b44941885d
Reworked cache access, it's not important to prevent a multiple
...
instances from being created.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915395 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 15:44:46 +00:00
Adam Heath
ab692aacc5
Use UtilObject.equalsHelper for null-safe comparison.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915394 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 15:44:19 +00:00
Adam Heath
6a01432cb0
A bunch more FMA tests; almost full coverage.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915393 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 15:43:49 +00:00
Adam Heath
7b02bca620
Create an fmaTest helper method.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915392 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 15:43:17 +00:00
Adam Heath
4edd49bd27
Use assertEquals instead of assertTrue.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915391 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 15:42:47 +00:00
Adam Heath
052c48555f
Move FMA tests to a separate file.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915390 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 15:42:17 +00:00
Adam Heath
fed4b4fa4f
Some methods for verifying two objects for inequality.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915389 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 15:41:40 +00:00
Jacques Le Roux
c2e23f819d
Fix a typo I made in r912587
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915332 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 13:26:37 +00:00
Adam Heath
90698c511a
Removed concurrent backport, as it is only useful when running on java
...
1.5, and ofbiz requires 1.6 now.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915167 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 03:51:02 +00:00
Erwan de Ferrieres
de2a2f0abb
Corrected OFBIZ-3495 Removing a value from the webtools interface ( https://issues.apache.org/jira/browse/OFBIZ-3495 )
...
Thanks Olivier
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@915044 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 20:07:57 +00:00
Adam Heath
350a287883
Make use of FSE.expand(), instead of expandString, to provide support
...
for direct setting of values in widgets. This closes OFBIZ-3486.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912645 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 16:34:47 +00:00
Adam Heath
38e3b6c5cc
Tests cases for expand feature. This finally brings us back to 100%
...
coverage on FSE.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912628 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 15:41:10 +00:00
Adam Heath
f94403991e
Add expand() variants, that don't cast the result to a string, instead
...
just returning the raw value directly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912625 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 15:40:16 +00:00
Adam Heath
6aa322189a
Use an internal key class, which shares the same character array, as the
...
key in the cache.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912624 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 15:39:40 +00:00
Adam Heath
b262ef487e
CurrElem no longer creates a new string for nested expression
...
evaluation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912623 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 15:39:13 +00:00
Adam Heath
3197175d18
Add testing on CurrElem.isEmpty.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912622 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 15:38:44 +00:00
Adam Heath
ace8638618
Memory reduction on const elements; this was done by making the common
...
path, the case where you have a plain string that needs to be converted
to FSE, just contain a single char array; this is how it used to be. In
other cases, constant strings will still share the array of chars with
other nested instances.
This commit does not have 100% coverage. That will be fixed shortly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@912621 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 15:38:07 +00:00