Created attachment 846146 [details] successful validation of an invalid enumeration Description of problem: An invalid enumeration is not detected. Validating invalid enumerations gives you 'Item successfully validated' notification. Guided rule editor might not open if you have such an enumeration in your project. Version-Release number of selected component (if applicable): BPMS 6.0 ER7 Steps to Reproduce: For a POJO A with String attributes a and b: 1. Create a new Enumeration. 2. Click Add enum and type in A into the first field, a into the second, ['a','b','c'] into the third. Save and validate. (OK so far.) 3. Click Add enum again and type in first A, into the next field b[a="b"] and into the last one ['b1','b2']. Save and validate. 4. Create a new guided rule or open an existing one. Actual results: After step 3, validation gives you 'Item successfully validated' notification. After step 4, the guided editor is blank. Expected results: After step 3, validation gives you meaningful validation error message. After step 4, the guided editor opens without problems, with the right content.
Enumeration validation has been improved; however ideally the Enumeration Editor should be enhanced to prevent erroneous definitions in the first place. This recommendation should really be the subject of a new "Feature Request" BZ.
Invalid enumeration evaluation works as seen in "Expected results". Verified for brms-6.0.1-ER2 deployable for eap6.