Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-3369

Queries to getTasksAssignedAsPotentialOwner returning already reserved tasks

    XMLWordPrintable

Details

    • Hide

      1) Create a task for groupA. GroupA has two users: user1 and user2
      2) call taskClient.getTasksAssignedAsPotentialOwner for user1 and groupA. It will return the task.
      3) call taskClient.getTasksAssignedAsPotentialOwner for user2 and groupA. It will return the task.
      4) user1 claim the task.
      5) call taskClient.getTasksAssignedAsPotentialOwner for user2 and groupA. It will return the task -> if he tries to claim it, he is not allowed.

      Show
      1) Create a task for groupA. GroupA has two users: user1 and user2 2) call taskClient.getTasksAssignedAsPotentialOwner for user1 and groupA. It will return the task. 3) call taskClient.getTasksAssignedAsPotentialOwner for user2 and groupA. It will return the task. 4) user1 claim the task. 5) call taskClient.getTasksAssignedAsPotentialOwner for user2 and groupA. It will return the task -> if he tries to claim it, he is not allowed.

    Description

      Queries to getTasksAsPotentialOwner is currently returning all tasks for a user which is a potential owner. If the task is for example already claimed by a potential owner, these queries will still return the tasks with all potential owners, although only the actual owner can work in this task.

      Attachments

        Activity

          People

            salaboy@gmail.com Mauricio Salatino (Inactive)
            calca_jira Demian Calcaprina (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: