Improved: Remove unused service checkContentAssocIds and its usage
All cases were not handled if contentAssocTypeId is also passed while creating
a content.
Thanks: Suraj Khurana
@@ -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" />
