[jira] [Assigned] (OFBIZ-9897) Add ability to disable entity eca rule

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Assigned] (OFBIZ-9897) Add ability to disable entity eca rule

Nicolas Malin (Jira)

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

Deepak Dixit reassigned OFBIZ-9897:
-----------------------------------

    Assignee: Deepak Dixit

> 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
>            Assignee: 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)