svn commit: r1849740 - /ofbiz/ofbiz-framework/trunk/applications/content/servicedef/services_content.xml

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

svn commit: r1849740 - /ofbiz/ofbiz-framework/trunk/applications/content/servicedef/services_content.xml

surajk
Author: surajk
Date: Wed Dec 26 07:55:09 2018
New Revision: 1849740

URL: http://svn.apache.org/viewvc?rev=1849740&view=rev
Log:
Fixed: Forum Group update not working, throwing an error.
(OFBIZ-10744)
It was due to missing default entity name in service definition while using entity-auto.
Thanks Ayushi Rathod for reporting the issue and providing the patch.

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

Modified: ofbiz/ofbiz-framework/trunk/applications/content/servicedef/services_content.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/content/servicedef/services_content.xml?rev=1849740&r1=1849739&r2=1849740&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/content/servicedef/services_content.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/content/servicedef/services_content.xml Wed Dec 26 07:55:09 2018
@@ -118,7 +118,7 @@
     </service>
 
     <!-- update content services -->
-    <service name="updateContent" engine="entity-auto" auth="true" invoke="update">
+    <service name="updateContent" default-entity-name="Content" engine="entity-auto" auth="true" invoke="update">
         <description>Update a Content</description>
         <permission-service service-name="genericContentPermission" main-action="UPDATE"/>
         <implements service="updateContentAssoc" optional="true"/>