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

Stunner - Data Object's Name with new line characters breaks the process

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 7.9.0.GA
    • 7.9.0.GA
    • jBPM Designer
    • False
    • False
    • CR1
    • Undefined
    • Workaround Exists
    • Hide

      Prevent from the issue

      Use Properties panel when editing name for Data Objects. It is not possible to input new line characters there.

      If using Inline text editor, avoid using names with new line characters for Data Objects.

      Fix the issue

      If the process is already broken:

      1. Find all occurrences of Data Object's names with empty lines and delete all these empty lines.
      2. Save the changes, Close xml editor and open process back.
      Show
      Prevent from the issue Use Properties panel when editing name for Data Objects. It is not possible to input new line characters there. If using Inline text editor, avoid using names with new line characters for Data Objects. Fix the issue If the process is already broken: Find all occurrences of Data Object's names with empty lines and delete all these empty lines. Save the changes, Close xml editor and open process back.
    • Hide
      1. Create a Data Object
      2. Double click on it to activate Inline text editor.
      3. Input the name containing at least one new line.
      4. Save the process.
      5. Close and open process back.

      Actual result

      After saving, an unexpected system error occurs.
      After closing and reopening the process back, the process is broken and xml editor is opened.

      Expected result

      If editing Data Object's name with text containing new line characters, just a warning message about invalid name is shown.
      Once the process is reloaded/reopened, all new line characters are removed from Data Objects' names.
      As a result, no unexpected errors occur, hence after reopening the process back, a process editor is opened instead of xml editor.

      Show
      Create a Data Object Double click on it to activate Inline text editor. Input the name containing at least one new line. Save the process. Close and open process back. Actual result After saving, an unexpected system error occurs. After closing and reopening the process back, the process is broken and xml editor is opened. Expected result If editing Data Object's name with text containing new line characters, just a warning message about invalid name is shown. Once the process is reloaded/reopened, all new line characters are removed from Data Objects' names. As a result, no unexpected errors occur, hence after reopening the process back, a process editor is opened instead of xml editor.
    • ---
    • ---
    • 2020 Week 37-39 (from Sep 7), 2020 Week 40-42 (from Sep 28)

    Description

      Data Object's Name with new line characters breaks the process.

      If a new line is input to Data Object's name using Inline editor, an unexpected system error occurs. After closing and reopening the process back, the process is broken and xml editor is opened.

      Attachments

        Issue Links

          Activity

            People

              jenrique@redhat.com Jaime Enriquez (Inactive)
              lterifaj@redhat.com Lubomir Terifaj
              Lubomir Terifaj Lubomir Terifaj
              Lubomir Terifaj Lubomir Terifaj
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: