Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-7882

jBPM Designer doesn't support variables with generic types.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Critical
    • None
    • 7.18.0.Final
    • Designer
    • NEW
    • NEW
    • 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>
    • 2019 Week 17-19

    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

              romartin@redhat.com Roger Martinez
              rh-ee-pefernan Pere Fernandez Perez
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: