Description of problem: The wizard allows you to add whatever you like into input for 'value list' and 'default value', even though the Fact's field is an enumeration. This way you can overwrite the values of the enumeration and cause yourself some interesting problems. Version-Release number of selected component (if applicable): BRMS 5.3.0 ER4 Steps to Reproduce: Using model with a fact Person with fields age, name, sex enumeration 'Person.sex':['f=female', 'm=male'] 1. Create a new Guided Decision Table via the wizard. 2. Add a Fact Pattern - Person, and Constraint - sex. (Fill in bindings, operator.) 3. Add to the Constraint: A) value "a,b,c" into the value list, B) value "aaa" as a default value, C) value "male" as a default value. 4. Finish the wizard and add a row. Actual results: A) Rows expand to show rules with values a, b and c as sex. The new row has options a, b and c. Even though the enumeration defines f, m (female, male). B+C) The row is empty, no default value shown, even though there is one defined and visible in both the source and the column configuration. Expected results: This should not be even possible: A) The input field for value list should be disabled or not shown at all. B+C) There should be a list to choose from. It would contain the labels female, male and resolve that to f, m in the source
It is not specific to the Wizard, but has been a long standing limitation for "Default Value" and "Option value list" in the web-guided Decision Table as a whole. I have linked a JIRA that is related to this BZ.
Zuzka Krejčová <zkrejcov> made a comment on jira GUVNOR-1709 The "(optional) value list" field is also a bit useless with this operator.
Michael Anstis <michael.anstis> made a comment on jira GUVNOR-1709 I assume you mean the operator "this" as opposed to forgetting to say what "this operator" is? ;)
Zuzka Krejčová <zkrejcov> made a comment on jira GUVNOR-1709 No, sorry for the confusion, I meant the operator "is contained in the a (comma separated) list" as specified in the title of this JIRA issue.
Thanks, Michael! Making sure the bug doesn't show up in a list of fixes for 5.3.
Michael Anstis <michael.anstis> updated the status of jira GUVNOR-1709 to Resolved
Update status to ON_QA. Please verify them against ER6.
(In reply to comment #8) > Update status to ON_QA. Please verify them against ER6. Do we really have it in ER6? I got the impression it was decided not to include this fix in 5.3. Has that changed?
You are correct. It is not in 5.3.
This has been fixed in community release 5.4.
Yep, it's my mistake by batch status updates. Sorry!
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: The Guided Decision Table wizard allows users to over write enumerations in the value list, invalidating the values.
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.