Vikas Mayur
1915592f76
Applied patch from Jira Issue OFBiz-1665 ( https://issues.apache.org/jira/browse/OFBIZ-1665 )
...
This patch reported a bug that was related to invoking wrong method in a service in services_data.xml
While applying the patch I come across similar bug in other services as well.
Fixed them as well.
Thanks to Pranay Pandey for the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@629523 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 16:25:25 +00:00
David E. Jones
75c26763e5
Fairly significant update to correct a long-standing problem; reverted ByteWrapper back for backward compatibility, and then replaced all use of ByteWrapper with java.nio.ByteBuffer; the main point is to both store only the byte[] data in the database and not a serialized object containing the byte[], and at the same time be able to read the old ByteWrapper objects, and there is a service to read and update all old data to be plan bytes instead of wrapped in a serialized object; this includes changing the java-type for blob fields to be java.sql.Blob to greater compatibility and flexibility, ie you can either set a plain byte[] or you can pass in a Blob object to be persisted, you can also get both as get returns java.sql.Blob, but getBytes always returns the byte[], converting as needed; this is tested a fair amount, but obviously needs to be watched as it is new code
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587433 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 09:52:49 +00:00
David E. Jones
7d70c41c12
Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Alfred Maxwell Byers
50e13a2497
Fixed my last commit with Andrew's fix.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516207 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 22:42:37 +00:00
Alfred Maxwell Byers
f71060fa8d
Added "dataResourceTypeId" as unnneeded parameter to "updateElectronicText" so that "updateDataText" seca will work.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@516200 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 22:36:39 +00:00
Andrew Zeneski
6ee64698ff
implemented new data resource types for AUDIO/VIDEO content
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512471 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 22:53:42 +00:00
Andrew Zeneski
05fa91599e
more content refactoring; refactored upload content service; now supports other data resource types; now also can determine which type to use based on mimeType (if none is specified); moved some service defs around, this is a work in progress. Moved data resource services from contentservices.xml to dataservices.xml
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@512356 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 18:35:04 +00:00