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

jBPM Designer doesn't support variables with generic types.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Critical
    • None
    • 7.7.0.GA
    • jBPM Designer
    • Hide
      1. Create a project
      2. [Optional] Create a Data Object
      3. Create a process
      4. Define a process variable with Name ANY_NAME and Data Type java.util.List<DATA_OBJECT_CLASSNAME> (by pasting it if cannot input by typing)

      Actual result

      Warning message is shown: "Removed invalid characters from name: <>"
      Process variable ANY_NAME has set Data Type to: java.util.ListDATA_OBJECT_CLASSNAME

      Expected result

      No warning message is shown.
      Process variable ANY_NAME has set Data Type to: java.util.List<DATA_OBJECT_CLASSNAME>

      Show
      Create a project [Optional] Create a Data Object Create a process Define a process variable with Name ANY_NAME and Data Type java.util.List<DATA_OBJECT_CLASSNAME> (by pasting it if cannot input by typing) Actual result Warning message is shown: " Removed invalid characters from name: <> " Process variable ANY_NAME has set Data Type to: java.util.ListDATA_OBJECT_CLASSNAME Expected result No warning message is shown. Process variable ANY_NAME has set Data Type to: java.util.List<DATA_OBJECT_CLASSNAME>
    • 2022 Week 29-31 (from Jul 18), 2022 Week 32-34 (from Aug 8)

    Description

      Process Designer breaks when opening processes that define variabes with generics on it's custom type (for example, java.util.List<com.example.MyDataObject>).

      It's possible to define the process with the variable and save it (a validation warning appears when saving) but once saved stunner is not able to open the process again since there are a lot of parsing exception.

      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:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: