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

Stunner - Data Object has different Name on Canvas than in Properties panel

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 7.9.0.GA
    • jBPM Designer
    • False
    • False
    • Release Notes
    • Undefined
    • Workaround Exists
    • Hide

      Don't use new lines in Data Object's name.

      If you already did it and you cannot set Source/Target in Assignments, close it and rename Data Object.

      Show
      Don't use new lines in Data Object's name. If you already did it and you cannot set Source/Target in Assignments, close it and rename Data Object.
    • 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 and confirm the change by pressing the enter.
      4. Create any task that contains Assignments (e.g.: User task).
      5. Add Input/Output assignment, click on Source/Target and select previously created Data Object.

      Actual result

      It is possible to input String containing new lines to Data Objects.
      Server log contains error messages. See server.log.
      It is not possible to select Data Object in assignments: an unexpected error occurs.

      Expected result

      It is not possible to input String containing new lines to Data Objects.
      There are no error messages in server log.
      It is possible to select Data Object in assignments. No error messages are shown.

      Show
      Create a Data Object. Double click on it to activate Inline text editor. Input the name containing at least one new line and confirm the change by pressing the enter. Create any task that contains Assignments (e.g.: User task). Add Input/Output assignment, click on Source/Target and select previously created Data Object. Actual result It is possible to input String containing new lines to Data Objects. Server log contains error messages. See server.log . It is not possible to select Data Object in assignments: an unexpected error occurs. Expected result It is not possible to input String containing new lines to Data Objects. There are no error messages in server log. It is possible to select Data Object in assignments. No error messages are shown.
    • ---
    • ---

    Description

      Data Object has different Name on Canvas than in Properties panel in case, it contains String with new lines.

      The issue is caused by the fixing the blocker issue: RHPAM-3196 as a temporary solution.

      It causes that Data Object cannot be used in Assignments of any node:

      • If the Data Object is selected in drop-down menu in Assignments either in Source or Target, an unexpected error occurs:
      Uncaught exception: Exception caught: Error parsing JSON: SyntaxError: Unexpected token 
       in JSON at position 217 Caused by: Error parsing JSON: SyntaxError: Unexpected token 
       in JSON at position 217
      

      Attachments

        Issue Links

          Activity

            People

              romartin@redhat.com Roger Martinez
              lterifaj@redhat.com Lubomir Terifaj
              Lubomir Terifaj Lubomir Terifaj
              Lubomir Terifaj Lubomir Terifaj
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: