Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-4046

REST Endpoint /tasks/users fails if process includes Human Task without actor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 6.3.0.GA
    • Kie-Server
    • None
    • Hide

      1) Create a process
      Start->User Task->End

      Fill in the name and task name, but leave the actor and groups field empty
      2) Build this project and create a KieContainer on the KieServer with it
      3) Call this endpoint:

      http://localhost:8080/kie-server/services/rest/server/containers/<CONTAINER_ID>/processes/definitions/<PROCESS_ID>/tasks/users

      It returns this in the browser:

      This page contains the following errors:
      
      error on line 1 at column 1: Document is empty
      Below is a rendering of the page up to the first error.
      

      -> Nothing is in the server.log

      I am not saying it makes sense to have Human Task without actor/group define, but the error needs to be better/more precise, so user can identify the issue

      Show
      1) Create a process Start->User Task->End Fill in the name and task name, but leave the actor and groups field empty 2) Build this project and create a KieContainer on the KieServer with it 3) Call this endpoint: http://localhost:8080/kie-server/services/rest/server/containers/ <CONTAINER_ID>/processes/definitions/<PROCESS_ID>/tasks/users It returns this in the browser: This page contains the following errors: error on line 1 at column 1: Document is empty Below is a rendering of the page up to the first error. -> Nothing is in the server.log I am not saying it makes sense to have Human Task without actor/group define, but the error needs to be better/more precise, so user can identify the issue

      Following rest endpoint:

      http://localhost:8080/kie-server/services/rest/server/containers/<CONTAINER_ID>/processes/definitions/<PROCESS_ID>/tasks/users

      fails if the <PROCESS_ID> includes a human tasks with empty 'actor' field.

              swiderski.maciej Maciej Swiderski (Inactive)
              rhn-support-agiertli Anton Giertli
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: