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

DocumentCollection doesn't work in generated forms

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.45.0.Final
    • 7.44.0.Final
    • Forms Modeler
    • None
    • 1
    • False
    • False
    • NEW
    • NEW
    • Undefined
    • Hide
      1. Deploy the project from https://issues.redhat.com/browse/JBPM-9321
      2. Create a new process instance.
      3. Hit the endpoint:
      http://<host>:<port>/kie-server/services/rest/server/containers/{containerId}/forms/tasks/{taskInstanceId}/content
      
      1. An NPE is thrown.
      Show
      Deploy the project from https://issues.redhat.com/browse/JBPM-9321 Create a new process instance. Hit the endpoint: http://<host>:<port>/kie-server/services/rest/server/containers/{containerId}/forms/tasks/{taskInstanceId}/content An NPE is thrown.
    • ---
    • ---
    • 2020 Week 40-42 (from Sep 28)

      The issue was originally fixed in JBPM-9321 but then the regression was created by JBPM-9322 where a switch construct was introduced with a missing break. Being it Java, the subsequent row

      item.setOptions(field.getListOfValues().stream().map(ItemOption::new).collect(toList()));
      

      throws NPE as field.getListOfValues() returns null as it belongs to another form element (multipleSelector).

              mmacik@redhat.com Marian Macik
              mmacik@redhat.com Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: