You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Adam Heath (JIRA)" <ji...@apache.org> on 2014/06/25 22:27:25 UTC

[jira] [Assigned] (OFBIZ-3554) Delegator removeByXXX do not trigger remove ECA

     [ https://issues.apache.org/jira/browse/OFBIZ-3554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Heath reassigned OFBIZ-3554:
---------------------------------

    Assignee: Adam Heath

> Delegator removeByXXX do not trigger remove ECA
> -----------------------------------------------
>
>                 Key: OFBIZ-3554
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3554
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 09.04, SVN trunk
>            Reporter: Wickersheimer Jeremy
>            Assignee: Adam Heath
>
> The removeByAnd / removeByCondition and by extension i think the removeAll methods do not trigger the remove ECA on the entities.
> So for example:
> {code:title=No trigger|borderStyle=solid}
>  removeByAnd("FooBar", map);
> {code} 
> Compared to:
> {code:title=With trigger|borderStyle=solid}
>  List entities = delegator.findByAnd("FooBar", map);
>  for (GenericValue v : entities) {
>    delegator.removeValue(v);
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)