Author: arunpatidar Date: Mon Jul 24 09:24:15 2017 New Revision: 1802772 URL: http://svn.apache.org/viewvc?rev=1802772&view=rev Log: Improvements in CommEventContentAssoc entity definition and services. (OFBIZ-8843) Applied improved patch. thanks Devanshu for your contribution.
Modified: ofbiz/ofbiz-framework/trunk/applications/content/servicedef/services_commevent.xml ofbiz/ofbiz-framework/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml Modified: ofbiz/ofbiz-framework/trunk/applications/content/servicedef/services_commevent.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/content/servicedef/services_commevent.xml?rev=1802772&r1=1802771&r2=1802772&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/content/servicedef/services_commevent.xml (original) +++ ofbiz/ofbiz-framework/trunk/applications/content/servicedef/services_commevent.xml Mon Jul 24 09:24:15 2017 @@ -99,8 +99,8 @@ under the License. <attribute name="sequenceNum" type="Long" mode="IN" optional="true"/> </service> - <service name="removeCommEventContentAssoc" default-entity-name="CommContentAssocType" engine="entity-auto" invoke="delete" auth="true"> - <description>Remove CommEventContentAssoc</description> + <service name="expireCommEventContentAssoc" default-entity-name="CommContentAssoc" engine="entity-auto" invoke="delete" auth="true"> + <description>Expire CommEventContentAssoc</description> <auto-attributes mode="IN" include="pk" optional="false"/> </service> Modified: ofbiz/ofbiz-framework/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml?rev=1802772&r1=1802771&r2=1802772&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml (original) +++ ofbiz/ofbiz-framework/trunk/applications/party/webapp/partymgr/WEB-INF/controller.xml Mon Jul 24 09:24:15 2017 @@ -663,7 +663,7 @@ under the License. </request-map> <request-map uri="removeAttachFile"> <security https="true" auth="true"/> - <event type="service" invoke="removeCommEventContentAssoc"/> + <event type="service" invoke="expireCommEventContentAssoc"/> <response name="success" type="request" value="EditCommunicationEvent"/> <response name="error" type="view" value="EditCommunicationEvent"/> </request-map>