Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-9715

Data Object editor removes imports when saving

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • None
    • None
    • Data Modeller
    • None
    • False
    • False
    • NEW
    • NEW
    • Undefined
    • Workaround Exists
    • Hide

      After doing changes to the Sources Tab, alternate to the Model Tab. This will ensure all changes are kept. After doing that save features will be back to normal.

      Show
      After doing changes to the  Sources Tab , alternate to the  Model Tab.  This will ensure all changes are kept. After doing that save features will be back to normal.
    • Hide

      1. Create Data Object
      2. Select `Source` tab and add import java.util.Date
      3. Click save.
      4. The import is gone.

      Show
      1. Create Data Object 2. Select `Source` tab and add import java.util.Date 3. Click save. 4. The import is gone.

      Summary
      Adding an Import using `Source` tab in Data object editor is not working as expected.
      Worked well in previous versions now it is broken.
      The added import is removed upon save. See steps to reproduce.

      NOTE: import is also removed when used in a return type of a method.

      Actual results
      Import that was written using source tab is removed.

      Expected Results
      Import that was written using source tabs is kept.


      • Options

       

        1. ImportMissingIssue.png
          ImportMissingIssue.png
          150 kB
        2. ImportIssue.png
          ImportIssue.png
          32 kB
        3. ImportAsterixIssue.png
          ImportAsterixIssue.png
          300 kB

              josephblt Wagner Lemos (Inactive)
              josephblt Wagner Lemos (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: