"Applied fix from trunk framework for revision: 1799088"
------------------------------------------------------------------------
r1799088 | jleroux | 2017-06-18 16:32:36 +0200 (dim. 18 juin 2017) | 13 lignes
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
------------------------------------------------------------------------
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/release16.11@1799089 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/applications/content/servicedef/services_data.xml b/applications/content/servicedef/services_data.xml
index a7ae150..be78e5d 100644
--- a/applications/content/servicedef/services_data.xml
+++ b/applications/content/servicedef/services_data.xml
@@ -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"/>