svn commit: r1726145 - /ofbiz/branches/release14.12/framework/common/servicedef/services.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1726145 - /ofbiz/branches/release14.12/framework/common/servicedef/services.xml

jleroux@apache.org
Author: jleroux
Date: Fri Jan 22 06:03:19 2016
New Revision: 1726145

URL: http://svn.apache.org/viewvc?rev=1726145&view=rev
Log:
Reverts r1670954 thanks to Tomas Pytelka, see OFBIZ-6209

Error in "release 14.12" and older, in those releases updateNote method is implemented using simple language and not using the auto-engine like trunk version. Simple method implementation requires to set primary key to the "INOUT" as it returns noteId.

Modified:
    ofbiz/branches/release14.12/framework/common/servicedef/services.xml

Modified: ofbiz/branches/release14.12/framework/common/servicedef/services.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/framework/common/servicedef/services.xml?rev=1726145&r1=1726144&r2=1726145&view=diff
==============================================================================
--- ofbiz/branches/release14.12/framework/common/servicedef/services.xml (original)
+++ ofbiz/branches/release14.12/framework/common/servicedef/services.xml Fri Jan 22 06:03:19 2016
@@ -70,7 +70,7 @@ under the License.
     <service name="updateNote" engine="simple" default-entity-name="NoteData"
         location="component://common/script/org/ofbiz/common/CommonServices.xml" invoke="updateNote">
         <description>Update a note record</description>
-        <auto-attributes include="pk" mode="IN" optional="false"/>
+        <auto-attributes include="pk" mode="INOUT" optional="false"/>
         <auto-attributes include="nonpk" mode="IN" optional="true"/>
         <override name="noteInfo" allow-html="any"/>
     </service>