Improved: Remove unused service checkContentAssocIds and its usage

(OFBIZ-9999)

All cases were not handled if contentAssocTypeId is also passed while creating 
a content.

Thanks: Suraj Khurana

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816637 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2017-11-29 15:38:57 +00:00
parent cfeeb7b88d
commit 57bdcb3db3
@@ -138,6 +138,8 @@ under the License.
<action service="createContentAssoc" mode="sync" run-as-user="system" result-to-result="true" />
</eca>
<eca service="createContent" event="commit">
<set field-name="contentId" env-name="contentIdFrom"/>
<set field-name="contentIdTo" env-name="contentId"/>
<condition field-name="contentAssocTypeId" operator="is-not-empty"/>
<condition field-name="contentId" operator="is-not-empty"/>
<action service="createContentAssoc" mode="sync" run-as-user="system" result-to-result="true" />