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

Data object containing at least one enum fails to be opend in Data model editor

XMLWordPrintable

    • Hide
      1. Import enum EnumTest.java
      2. Import Data Object with this enum
        Expect: After import is successfully finished the data model should be shown
        Actual: There is info shown "Java file could not be parsed, it won’t be possible to open the Editor tab, use the Source tab instead." and user cannot add fields via ui
      Show
      Import enum EnumTest.java Import Data Object with this enum Expect: After import is successfully finished the data model should be shown Actual: There is info shown "Java file could not be parsed, it won’t be possible to open the Editor tab, use the Source tab instead." and user cannot add fields via ui
    • NEW
    • NEW

      It is possible to manage enum types in scenario simulation to do so in Rule based test scenario it is possible to have data object enum. But including at least one field that implements Enumeration interface breaks the model editor and fails to show fields on the UI See: model view with enum types.webm

        1. EnumFieldOnlyObject.java
          0.6 kB
          Anna Dupliak
        2. EnumTest.java
          0.1 kB
          Anna Dupliak
        3. model view with enum types.webm
          1.43 MB
          Anna Dupliak

              yamer@redhat.com Yeser Amer
              adupliak Anna Dupliak (Inactive)
              Anna Dupliak Anna Dupliak (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: