Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-14810

Task Assignee "" (empty String)

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • None
    • 7.16.0
    • tasklist, webapp

      Environment (Required on creation): Camunda 7.16.0

      Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):

      I assign a task to the username "" (empty String) via API. The task in the tasklist shows up as "unassigned" because I have the option to click "Claim task". If I click "Claim task" there is an error message "Task '68d43e94-187a-11ed-bfb3-f40270f6362c' is already claimed by someone else." There is no option to reassign the task in the tasklist.

      Steps to reproduce (Required on creation):

      1. Update task via API, set username to "".
      2. Open Tasklist and "Claim task".

      Observed Behavior (Required on creation):

      There is an error message. I cant unassign or reassign the task.

      Expected behavior (Required on creation):

      The task in the tasklist should show as assigned.

      Root Cause (Required on prioritization):

      Handling of empty string for field "assignee" is handled improperly.

      Solution Ideas (Optional):

      Dont allow "" as valid username.

      OR

      Treat "" as a valid username in tasklist.

      Hints (optional):

      When filtering the tasks by "assigned" (true/false) via REST API the task with assignee "" is interpreted as assigned.

        This is the controller panel for Smart Panels app

              daniel.kelemen Daniel Kelemen
              LukeSWK Lukas Bard
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: