Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-3544

Data Object editor removes imports when saving

    XMLWordPrintable

Details

    • CR1
    • CR1
    • 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.
    • 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.
    • Release Notes
    • 2021 Week 16-18 (from Apr 19), 2021 Week 19-21 (from May 10), 2021 Week 22-24 (from May 31)
    • +

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              josephblt Wagner Lemos
              dhanak@redhat.com Dominik Hanak
              Jan Stastny Jan Stastny
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: