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

After claiming a task, the order of tasks inside the task list is different than before

      1. start tasklist (e.g. in develop mode)
      2. open tasklist and login into tasklist
      3. select the task "do more work" and claim this task (use "No Filters")

      -> after the list of tasks has been refreshed the claimed task is not inside the list anymore and the order of the tasks is different than before

      Expected behavior:
      The order inside the task list is determenstic.

      Hint:
      Same problem when setting due date or follow up date

        This is the controller panel for Smart Panels app

            [CAM-2589] After claiming a task, the order of tasks inside the task list is different than before

            I was able to reproduce this problem too.

            • define a "my task" filter
            • select a task in that filter
            • perform unclaim followed by claim multiple time

            Problem:

            • with every claim the task is positioned differently in the list (I saw any position)

            Robert Gimbel added a comment - I was able to reproduce this problem too. define a "my task" filter select a task in that filter perform unclaim followed by claim multiple time Problem: with every claim the task is positioned differently in the list (I saw any position)

            I am not able to reproduce this with the current snapshot

            Robert Gimbel added a comment - I am not able to reproduce this with the current snapshot

            Hi,

            I created a unit test to verify the ordering of multiple task queries through the filter api:
            https://github.com/camunda/camunda-bpm-platform/tree/CAM-2589

            Currently this test is only fails on H2, so I assume that this is a H2 only problem. It would be nice if we could verify this
            with a Tasklist snapshot and another DB than H2. If my assumption is right we should create a separate ticket for this,
            because I'm not sure if we can influence the H2 ordering.

            Cheers,
            Sebastian

            Sebastian Menski added a comment - Hi, I created a unit test to verify the ordering of multiple task queries through the filter api: https://github.com/camunda/camunda-bpm-platform/tree/CAM-2589 Currently this test is only fails on H2, so I assume that this is a H2 only problem. It would be nice if we could verify this with a Tasklist snapshot and another DB than H2. If my assumption is right we should create a separate ticket for this, because I'm not sure if we can influence the H2 ordering. Cheers, Sebastian

            I confirm that this issue is related to H2. I'll create a separate ticket for H2.

            Michael Schoettes added a comment - I confirm that this issue is related to H2. I'll create a separate ticket for H2.

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

                Created:
                Updated:
                Resolved: