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

DM discards everything it cannot display to the user

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Critical Critical
    • 6.0.1
    • None
    • Data Modeler
    • None

      Description of problem:
      On each change of a class/data object and saving of the model, the Data Modeler re-generates the changed class/data object. If the class contained something that the DM cannot display to the user, these things are ignored and disappear.

      Any custom, non-DM-like code is gone once a class is edited in the DM.

      Example A:
      Developer creates a class using some external tool, pushes it through Git. This class contains a method public void doSomething(). Business user opens the DM and adds an attribute to this class, then saves the data model.
      Result: The 'doSomething' is gone from the class.

      Example B:
      Developer creates an interface or abstract class using some external tool, pushes it through Git. Business user opens the DM, sees this interface or abstract class, but does not know this is not a normal class. So he adds an attribute, then saves the data model.
      Result: The interface or abstract class is changed to normal class.

      Example C:
      Developer creates a class using some external tool, pushes it through Git. This class contains a private attribute called someAttr, but no getter or setter for it. Business user opens the DM and adds an attribute to this class, then saves the data model.
      Result: The 'someAttr' attribute is gone from the class.

      Example D:
      Developer creates a class using some external tool, pushes it through Git. This class contains a public int attribute called someAttr, but no getter or setter for it. Business user opens the DM and adds an attribute to this class, then saves the data model.
      Result: The 'someAttr' attribute is changed to Integer, getter and setter are generated.

      Example E:
      Developer edits a class using some external tool, pushes it through Git. The change done is just an added System.out.println("debug msg"); added to the default non-parametric constructor. Business user opens the DM and adds an attribute to this class, then saves the data model.
      Result: The debug print is gone.

      Version-Release number of selected component (if applicable):
      BPMS 6.0 CR2

      Steps to Reproduce:
      See examples in the description.

              wmedvede@redhat.com Walter Medvedeo
              zkrejcov Zuzka Krejčová (Inactive)
              Zuzka Krejčová Zuzka Krejčová (Inactive)
              Zuzka Krejčová Zuzka Krejčová (Inactive)
              Kris Verlaenen, Rajesh Rajasekaran
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: