Hans Bakker
c021cd1379
corrected: used field name as a value for fieldname defaultCurrencyUomId as reported in OFBIZ-3482
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910460 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 10:45:16 +00:00
Adrian Crum
a6d0392b58
Created a JMS serializer facade class to decouple JMS code from XmlSerializer.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910385 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 03:38:41 +00:00
Adrian Crum
76cfd7421f
Add SVN properties to renamed file.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910368 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 00:13:01 +00:00
Adrian Crum
690df1644b
Fixed misspelling in conversion framework - no functional change.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910367 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 00:10:36 +00:00
Adam Heath
679342925f
Add more DateTime conversion tests.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910357 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 22:25:33 +00:00
Adam Heath
c9099d5741
Explicitly test the canConvert method on each converter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910356 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 22:24:54 +00:00
Adam Heath
b75fb11cb2
Refactored the DateTime conversion tests.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910355 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 22:24:27 +00:00
Adam Heath
3e476eedcd
Move DateTime conversion tests to separate class.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910354 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 22:23:55 +00:00
Adam Heath
1f90f3dfd3
Fix errors and warnings with the JSON grammar.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910353 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 22:23:15 +00:00
Adam Heath
95ba1bdffd
s/Hex onversions/Hex conversions/
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910352 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 22:22:45 +00:00
Bilgin Ismet Ibryam
bb180a0999
Revert cascadeDelete service after Adam and Adrian's feedback.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910256 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 16:41:35 +00:00
Jacopo Cappellato
167b7e6bd8
Enhancements to the test for the createProductionRunForOrder service: testing that reservations for items produced by the production run are correctly associated to the order.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910252 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 16:32:02 +00:00
Adrian Crum
341526dd5a
Cleaned up imports in the conversion framework.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910241 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 15:52:10 +00:00
Bilgin Ismet Ibryam
25b998b069
Added a generic cascadeDelete service which can be used for data deletion. It uses recursion to delete all the related data entries.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910235 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 15:14:32 +00:00
Jacopo Cappellato
64bb0a4c0f
Automated test for the creation of production runs from sales orders; this also includes a bug fix for a bug exposed by the test (output list of production run id created was always empty).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910230 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 15:04:39 +00:00
Jacopo Cappellato
94d5cae288
Slightly enhanced the testorder service to accept an optional productId.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910229 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 15:02:37 +00:00
Ashish Vijaywargiya
71edf5dbeb
Moving data to appropriate location. I don't know much about the original thought of keeping this data in ProductTypeData.xml file and considering that it was done mistakenly.
...
If anyone else think otherwise then please comment.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910174 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 08:15:24 +00:00
Adam Heath
035e852ef7
Make PassThruConverterCreater function like NullConverter, which handles
...
any class to Object conversion, and also handles FooObject ->
FooInterface.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910167 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 07:16:51 +00:00
Adam Heath
5da12fa6cd
Move all JSON converters to a separate class, change the collection
...
converters that used to use JSON back to calling toString, and implement
separate JSON conversion.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910112 13f79535-47bb-0310-9956-ffa450edef68
2010-02-14 22:44:39 +00:00
Adam Heath
a24c178c3e
StringToEnum conversions now go thru the creation system.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910111 13f79535-47bb-0310-9956-ffa450edef68
2010-02-14 22:41:52 +00:00
Adam Heath
0bbbb00531
Implement a creation framework; this allows creaters to provide
...
optimized versions of converters.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910110 13f79535-47bb-0310-9956-ffa450edef68
2010-02-14 22:41:19 +00:00
Adam Heath
ba40d13675
Fix several generics warnings.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910109 13f79535-47bb-0310-9956-ffa450edef68
2010-02-14 22:40:44 +00:00
Adam Heath
8d00d8d2fa
Improve the targeted class convert methods, to have a more strict
...
generics type.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910108 13f79535-47bb-0310-9956-ffa450edef68
2010-02-14 22:39:53 +00:00
Adam Heath
62861a8ed5
AbstractConverter now implement ConverterLoader, and thee register call
...
was moved to loadConverters().
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910105 13f79535-47bb-0310-9956-ffa450edef68
2010-02-14 22:39:03 +00:00
Adam Heath
68e313b5d0
In loadConverters, if the contained class implements ConverterLoader,
...
call it's loadConverters method.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910104 13f79535-47bb-0310-9956-ffa450edef68
2010-02-14 22:38:26 +00:00
Adam Heath
89390ab5fa
Make the enum converters extend AbstractConverter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910103 13f79535-47bb-0310-9956-ffa450edef68
2010-02-14 22:37:52 +00:00
Adam Heath
150b144e44
Protect against public classes with non-public constructors.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910101 13f79535-47bb-0310-9956-ffa450edef68
2010-02-14 22:37:14 +00:00
Adam Heath
2d278dde6d
getSourceClass and getTargetClass are no longer final.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910100 13f79535-47bb-0310-9956-ffa450edef68
2010-02-14 22:36:46 +00:00
Adam Heath
ea485e191f
Make AbstractLocalizedConverter extend AbstractConverter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910099 13f79535-47bb-0310-9956-ffa450edef68
2010-02-14 22:36:11 +00:00
Adam Heath
5cafceca54
Make AbstractLocalizedConverter more like AbstractConverter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910098 13f79535-47bb-0310-9956-ffa450edef68
2010-02-14 22:35:41 +00:00
Adam Heath
c436afc999
Remove checkExtendsImplements; in actuality, each converter should
...
handle this itself.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910097 13f79535-47bb-0310-9956-ffa450edef68
2010-02-14 22:35:13 +00:00
Adam Heath
732a9b62d6
Implement unsynchronized(non-blocking) access to converterMap and
...
noConversion.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910096 13f79535-47bb-0310-9956-ffa450edef68
2010-02-14 22:34:46 +00:00
Adam Heath
31976663c0
Remove temporary values variable in getConverter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910095 13f79535-47bb-0310-9956-ffa450edef68
2010-02-14 22:34:13 +00:00
Adam Heath
590a2a0a9b
Use generics for loop in loadContainedConverters.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910094 13f79535-47bb-0310-9956-ffa450edef68
2010-02-14 22:32:49 +00:00
Adam Heath
d3a12cdd13
Remove debug print statement.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910093 13f79535-47bb-0310-9956-ffa450edef68
2010-02-14 22:32:21 +00:00
Adrian Crum
583d012e4b
Created a SOAP serializer facade class to decouple SOAP code from XmlSerialize.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910060 13f79535-47bb-0310-9956-ffa450edef68
2010-02-14 18:38:34 +00:00
Jacopo Cappellato
6635cfdc25
Added two new automated tests for production runs; fixed a bug (header costs not considered by the getProductionRunCost service) and adjusted automated test accordingly.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@910004 13f79535-47bb-0310-9956-ffa450edef68
2010-02-14 12:49:55 +00:00
Jacopo Cappellato
fa7eebb420
Added assert statement to test the service getProductionRunCost
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@909992 13f79535-47bb-0310-9956-ffa450edef68
2010-02-14 08:54:58 +00:00
Jacopo Cappellato
a1b37c0255
No functional change: grouped together the services dealing with creation of production runs.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@909991 13f79535-47bb-0310-9956-ffa450edef68
2010-02-14 08:53:42 +00:00
Jacopo Cappellato
a2b75f2ebc
Automated test for service getProductCost
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@909985 13f79535-47bb-0310-9956-ffa450edef68
2010-02-14 08:34:48 +00:00
Jacques Le Roux
1aaa73329d
Label for ExampleLookupFields
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@909925 13f79535-47bb-0310-9956-ffa450edef68
2010-02-13 22:48:12 +00:00
Adrian Crum
7eb22acb3a
Test XStream serialization/deserialization of GenericValue.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@909858 13f79535-47bb-0310-9956-ffa450edef68
2010-02-13 17:45:11 +00:00
Adam Heath
1d4257f190
Fix ordering of Enum converter class comparisons.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@909718 13f79535-47bb-0310-9956-ffa450edef68
2010-02-13 03:54:42 +00:00
Adrian Crum
668e940a69
Added the XStream library to the project:
...
http://xstream.codehaus.org/
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@909650 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 23:09:20 +00:00
Adam Heath
5aba6d47a1
Fix a few typos.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@909543 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 18:10:26 +00:00
Jacopo Cappellato
8db8db7ae8
Automated test for the product standard cost algorithm.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@909331 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 10:12:37 +00:00
Jacques Le Roux
4f74dcaa14
A patch from Sascha Rodekamp "Allow to quit a layered lookup with Esc key" ( https://issues.apache.org/jira/browse/OFBIZ-3451 ) - OFBIZ-3451
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@909312 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 09:45:05 +00:00
Jacopo Cappellato
63eb001a41
Fix for a couple of production run related bugs discovered playing with new automated tests:
...
* wrong date field tipy was set for Lot records
* the finished product id was not set in accounting transactions related to production run header costs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@909308 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 09:30:13 +00:00
Jacopo Cappellato
8e1d2b3275
Fixed wrong file names in LICENSE file for Docbook files for which Hans received specific distribution permissions from one of the authors.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@909286 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 08:13:21 +00:00
Bilgin Ismet Ibryam
cd3ec88938
Fixed "create quote from request" link. Reported in user list by James
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@909281 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 07:53:01 +00:00