[jboss-jira] [JBoss JIRA] (DROOLS-689) Dependent Enumerations not working in Test Scenario, EXPECT section

Rares Vernica (JIRA) issues at jboss.org
Thu Jan 15 21:21:49 EST 2015


Rares Vernica created DROOLS-689:
------------------------------------

             Summary: Dependent Enumerations not working in Test Scenario, EXPECT section
                 Key: DROOLS-689
                 URL: https://issues.jboss.org/browse/DROOLS-689
             Project: Drools
          Issue Type: Bug
    Affects Versions: 6.1.0.Final
            Reporter: Rares Vernica
            Assignee: Mark Proctor


In Drools Workbench, I defined a dependent enumeration like:

'fact.f1' : ['a','b']
'fact.f2[f1=a]' : ['a1', 'a2']
'fact.f2[f1=b]' : ['b1', 'b2']

The enumeration is detected properly and the drop-down box is displayed for Guided Rules and Test Scenario GIVEN section.

The dependent filed is not detected properly for the Test Scenario EXPECT section and instead of the drop-down box a simple text box is displayed.

If I populate the text box with a correct value from the enumeration, the scenario reports success, so the rule and the scenario is correct.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list