-
Bug
-
Resolution: Done
-
Critical
-
6.0.0
-
None
Description of problem: Bug 724629 was fixed for 5.3.0 and it concludes that enum values like Person$Sex.FEMALE should be presented as Sex.FEMALE in Guided Rule Editor. Currently in 6.0.x it is displayed as Person$Sex.FEMALE and the same value appears in the generated DRL source. When a rule using such value is saved and reopened the select box listing the enum values is reset and contains no items (only the "Choose ..." hint).
Version-Release number of selected component (if applicable):
ER6
How reproducible:
-
Steps to Reproduce:
1. prepare a data model described in bug 724629
2. add Person fact with sex field and set it to Person$Sex.FEMALE
3. save the rule, close it and reopen
Actual results:
The select box for Person.sex field is reset. DRL source contains Person$Sex.FEMALE.
Expected results:
- The select box in GRE should contain values without the enclosing class, e.g. Sex.FEMALE.
- The same format should appear in the DRL source.
- GRE should handle nested enum values correctly when reopening the rule
Additional info:
- is related to
-
RHBRMS-529 DRL-to-RuleModel marshalling improvements
- Closed
- relates to
-
RHBRMS-529 DRL-to-RuleModel marshalling improvements
- Closed