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

Setting task owner and task assignee throws index violation exception

XMLWordPrintable

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

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: