[jboss-jira] [JBoss JIRA] (DROOLS-4259) Scenario can not access parent data object fields

Klara Kufova (Jira) issues at jboss.org
Tue Aug 6 09:52:02 EDT 2019


     [ https://issues.jboss.org/browse/DROOLS-4259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Klara Kufova updated DROOLS-4259:
---------------------------------
    Story Points: 5


> Scenario can not access parent data object fields
> -------------------------------------------------
>
>                 Key: DROOLS-4259
>                 URL: https://issues.jboss.org/browse/DROOLS-4259
>             Project: Drools
>          Issue Type: Bug
>          Components: Scenario Simulation and Testing
>    Affects Versions: 7.24.0.Final
>            Reporter: Jozef Marko
>            Assignee: Daniele Zonca
>            Priority: Critical
>              Labels: ScenarioSimulation, rhpam74releasenote
>         Attachments: Screenshot from 2019-06-26 08-56-23.png, inheritance.zip
>
>
> Scenario Designer can not access parent data object fields, even if the field has public getter and setter. If you check the attached project there are two fields - *price* and *size* while *size* is declared in parent class. If you try to run the scenario, error about not possible initialization of the data object appears. 
> If you move the *size* field from *Picture* into *Advertisement* class and rerun the scenario, everything works fine.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list