svn commit: r1799088 - /ofbiz/ofbiz-framework/trunk/applications/content/servicedef/services_data.xml

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

svn commit: r1799088 - /ofbiz/ofbiz-framework/trunk/applications/content/servicedef/services_data.xml

jleroux@apache.org
Author: jleroux
Date: Sun Jun 18 14:32:36 2017
New Revision: 1799088

URL: http://svn.apache.org/viewvc?rev=1799088&view=rev
Log:
Fixed: Create new blog article entry error.
(OFBIZ-9373)

After using plain text for the field [articleData], when I post the form,
I get the following error message:
 The following required parameter is missing: [IN]
 [createElectronicText.dataResourceId]]
 
jleroux: it was a bug introduced with r1765319 while refactoring to use
entity-auto

Thanks: Daniel Coric who find the reason and Yao who initially reported and
helped to find a solution

Modified:
    ofbiz/ofbiz-framework/trunk/applications/content/servicedef/services_data.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/content/servicedef/services_data.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/content/servicedef/services_data.xml?rev=1799088&r1=1799087&r2=1799088&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/content/servicedef/services_data.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/content/servicedef/services_data.xml Sun Jun 18 14:32:36 2017
@@ -104,7 +104,7 @@
         <description>Create a ElectronicText</description>
         <permission-service service-name="genericDataResourcePermission" main-action="CREATE"/>
         <implements service="createDataResource"/>
-        <auto-attributes include="pk" mode="INOUT" optional="false"/>
+        <auto-attributes include="pk" mode="IN" optional="false"/>
         <auto-attributes include="nonpk" mode="IN" optional="true"/>
         <override name="dataResourceTypeId" default-value="ELECTRONIC_TEXT"/>
         <override name="textData" allow-html="any"/>