Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-3137

java.util.Collection subclasses used as import suggestions are not managed well

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 6.0.1
    • 6.0.0
    • Data Modeler
    • None

      When an import suggestion of class X is defined, and X is a subclass of java.util.Collection the following issue was detected.

      1) Asuming we added for example an import suggestion of class X that extends java.util.Collection

      2) Then we open the data modeller and add a property e.g. theList of type X. (see attached file Screen1)

      3) save the model in order to generate the pojos

      4) open again the datamodeler. We we go to the pojo that have the property "theList" we will see it wrong. (see attached file Screen2)

        1. Screen1.jpg
          261 kB
          Walter Medvedeo
        2. Screen2.jpg
          233 kB
          Walter Medvedeo

              wmedvede@redhat.com Walter Medvedeo
              wmedvede@redhat.com Walter Medvedeo
              Jiří Locker Jiří Locker (Inactive)
              Jiří Locker Jiří Locker (Inactive)
              Edson Tirelli, Marek Baluch, Pedro Zapata Fernandez, Walter Medvedeo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: