[jboss-jira] [JBoss JIRA] (DROOLS-5090) enumeration values used in rules can be deleted

Werner Van Herrewegen (Jira) issues at jboss.org
Thu Feb 20 07:32:00 EST 2020


Werner Van Herrewegen created DROOLS-5090:
---------------------------------------------

             Summary: enumeration values used in rules can be deleted
                 Key: DROOLS-5090
                 URL: https://issues.redhat.com/browse/DROOLS-5090
             Project: Drools
          Issue Type: Bug
          Components: Enumerations Editor
            Reporter: Werner Van Herrewegen
            Assignee: Michael Anstis


As a rule creator, 
whenever the value list of an enumeration gets modified, I want to make sure that no rules are broken because of it.

NOW IT IS BROKEN:
see steps to reproduce

solution suggestion:
prevent the deletion of an enumeration value when it is in use in a rule
The user should be made aware what rule(s) is/are blocking the removal of a value!
  --> the user must first 'prepare' the rules and then come back to remove the value from the list


ATTENTION:
This logic only is valid for DELETION/RENAMING of enumeration values,
Rearranging values and adding values can happen without any problem.





--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list