Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-4259

Scenario can not access parent data object fields

XMLWordPrintable

    • 2019 Week 32-34
    • 5
      1. Import the attached project
      2. Run test-price scenario
      3. Click View Alerts
    • NEW
    • NEW

      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.

        1. Screenshot from 2019-06-26 08-56-23.png
          56 kB
          Jozef Marko

            dzonca@redhat.com Daniele Zonca
            rh-ee-jomarko Jozef Marko (Inactive)
            Jozef Marko Jozef Marko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: