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

Jozef Marko (Jira) issues at jboss.org
Wed Jun 26 02:58:00 EDT 2019


Jozef Marko created DROOLS-4259:
-----------------------------------

             Summary: 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
         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