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

Setting task owner and task assignee throws index violation exception

    XMLWordPrintable

    Details

      Description

      Steps to reproduce:
      Try to execute the following code snippet:

      Task newTask = taskService.newTask();
      newTask.setAssignee("Horst");
      newTask.setOwner("Horst");
      taskService.saveTask(newTask);
      

      Problem:
      This leads to a unique index violation:

      Unique index or primary key violation: "ACT_UNIQ_AUTH_USER_INDEX_6 ON PUBLIC.ACT_RU_AUTHORIZATION(TYPE_, USER_ID_, RESOURCE_TYPE_, RESOURCE_ID_)"

        mgm-controller-panel

        This is the controller panel for Smart Panels app

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                roman.smirnov Roman Smirnov
                Reporter:
                roman.smirnov Roman Smirnov
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: