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_)"

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: