Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-3554

Delegator removeByXXX do not trigger remove ECA

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Release Branch 09.04, Trunk, Upcoming Branch
    • None
    • framework
    • None
    • Bug Crush Event - 21/2/2015

    Description

      The removeByAnd / removeByCondition and by extension i think the removeAll methods do not trigger the remove ECA on the entities.

      So for example:

      No trigger
       removeByAnd("FooBar", map);
      

      Compared to:

      With trigger
       List entities = delegator.findByAnd("FooBar", map);
       for (GenericValue v : entities) {
         delegator.removeValue(v);
        }
      

      Attachments

        1. OFBIZ-3554.patch
          3 kB
          Divesh Dutta

        Activity

          People

            doogie Adam Heath
            jwickers Wickersheimer Jeremy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: