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

Import package is removed when save a data object

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 7.10.0.GA
    • Business Central
    • None
    • Red Hat Process Automation Manager 7.10.0

    • False
    • False
    • Undefined
    • Hide

      Cloning the project locally, make the changes, and import the project again will avoid this issue.

      Show
      Cloning the project locally, make the changes, and import the project again will avoid this issue.
    • Hide
      1. In a project create a new DataObject
      2. In the source tab include the `import org.slf4j.Logger`
      3. Create a variable `Logger LOG`
      4. Save the DO

      Result: The import and LOG variable is removed.

      Show
      In a project create a new DataObject In the source tab include the `import org.slf4j.Logger` Create a variable `Logger LOG` Save the DO Result: The import and LOG variable is removed.

    Description

      When saving a DO with some imports, the variables and imports are removed (screenshot "ImportMissingIssue"). If the variable uses the full class name to be instantiated, only the import is removed (screenshot "ImportIssue). And if the import has one "" to import all classes from a package the "" is removed (screenshot "ImportAsterixIssue").

      Attachments

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

        Issue Links

          Activity

            People

              trikkola Toni Rikkola
              rhn-support-roribeiro Rodrigo Ribeiro (Inactive)
              Barbora Siskova Barbora Siskova
              Barbora Siskova Barbora Siskova
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: