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

Emily Murphy (Jira) issues at jboss.org
Mon Jul 8 09:28:00 EDT 2019


    [ https://issues.jboss.org/browse/DROOLS-4259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13756700#comment-13756700 ] 

Emily Murphy commented on DROOLS-4259:
--------------------------------------

[~aashishdalmia] thanks. I've updated. Please review the draft:
[RHPAM draft|http://file.ork.redhat.com/~emmurphy/rhpam-7.4-rn/]
[RHDM draft|http://file.ork.redhat.com/~emmurphy/rhdm-7.4-rn/]


> 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