Author: surajk
Date: Wed Dec 26 07:55:09 2018
New Revision: 1849740
URL:
http://svn.apache.org/viewvc?rev=1849740&view=revLog:
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"/>