ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepak Dixit (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OFBIZ-9897) Add ability to disable entity eca rule
Date Sat, 28 Oct 2017 05:48:00 GMT
Deepak Dixit created OFBIZ-9897:
-----------------------------------

             Summary: Add ability to disable entity eca rule 
                 Key: OFBIZ-9897
                 URL: https://issues.apache.org/jira/browse/OFBIZ-9897
             Project: OFBiz
          Issue Type: Improvement
            Reporter: Deepak Dixit


We have enabled flag in EntityEcaRule class, if its set false then entity eca rule will not
be execute.
But there is not way to disable entity eca.

We can add enabled flag in Entity ECA definition to disable the existing entity eca rule.

- Add new attribute on entity eca tag named enabled
- Default value will be true for this.
- If user want to disable existing OOTB entity eca rule, then user can define same rule in
custom component and set the enabled=false

Also as per current flow if same seca rule is define more then once, system will execute all
the rule, ideally it should not execute same rule (same rule, condition and action) if its
defined more than one.

Also need to ovride hasCode, equals and toString method for EntityEcaRule class file. 




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message