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

jBPM Designer doesn't support variables with generic types.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Critical 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

      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.

        1. stacktrace.txt
          59 kB
          Pere Fernandez Perez

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

                Created:
                Updated:
                Resolved: