]
Toni Rikkola reassigned DROOLS-5090:
------------------------------------
Assignee: Toni Rikkola (was: Michael Anstis)
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: Toni Rikkola
Priority: Major
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.