Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed: Manage EECAs on delegator.removeBy
(OFBIZ-11040) When you delete some entities through removeByAnd or removeByCondition, eeca aren't enable and the remove is quite as regard implemented rules. With <eca entity="GoodIndentification" operation="create-store-remove" event="return"> <action service="indexProductKeywords" mode="sync"/> </eca> And delegator.removeByAnd('GoodIdentification', [productId: 'WG-1111']) The service indexProductKeywords wasn't call for the productId WG-1111 To solve this situation, the idea would be delegator.removeValue for each element to delete when an eeca is present otherwise call the standard helper.removeByCondition. Thanks to Leila Mekika for raise and fix this issue, Jacques Leroux and Mathieu Lirzin for the review git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1859887 13f79535-47bb-0310-9956-ffa450edef68
- Loading branch information