Skip to content
This repository has been archived by the owner on May 9, 2020. It is now read-only.

Commit

Permalink
Reverts r1671000 thanks to Tomas Pytelka, see OFBIZ-6209
Browse files Browse the repository at this point in the history
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.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/release12.04@1726146 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
JacquesLeRoux committed Jan 22, 2016
1 parent a77335e commit b2bd3cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/common/servicedef/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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="safe"/>
</service>
Expand Down

0 comments on commit b2bd3cc

Please sign in to comment.