[jboss-jira] [JBoss JIRA] (DROOLS-5263) [Test Scenario Editor] List does not initializing

Anna Dupliak (Jira) issues at jboss.org
Tue Apr 21 09:28:39 EDT 2020


Anna Dupliak created DROOLS-5263:
------------------------------------

             Summary: [Test Scenario Editor] List does not initializing
                 Key: DROOLS-5263
                 URL: https://issues.redhat.com/browse/DROOLS-5263
             Project: Drools
          Issue Type: Bug
          Components: Test Scenarios Editor
    Affects Versions: 7.36.0.Final
            Reporter: Anna Dupliak
            Assignee: Toni Rikkola
         Attachments: Legacy works with Lists.docx, MySpace_List.zip, PAM Issue with New Test Scenarios and lists.docx, medPartBDate-NotOnRequest-MarketingNo.rdrl

Defect: If user create a list - typed fact and puts it to the Test Scenario, and use it in guided rule see  [^PAM Issue with New Test Scenarios and lists.docx] 
Then test passes but rules are not getting fired. 

This feature implemented other way in legacy test scenario see the example: [^Legacy works with Lists.docx] 

Root case :
We removed initialization of the list by default .
Previously when you have been adding a fact to test scenario - it was automatically initializing so in the end you got in GIVEN list with one empty element
Now If you add a list fact you are free to left it empty or initialize it with at least one element.

Workaround: put in GIVEN section for the list at least one empty element



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list