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

Filter key "User / Group" : "Owner" is not working as expected

    • Icon: Bug Report Bug Report
    • Resolution: Won't Fix
    • Icon: L3 - Default L3 - Default
    • None
    • 7.13.11
    • webapp

      User Story (Required on creation):

      The user clicks on a filter "tasks that I own" in the Camunda Webapp. All tasks are shown which the current user owns. 

      Functional Requirements (Required before implementation):

      There is a filter in the Camunda Webapp, that shows the current user all tasks which he owns. 

      Technical Requirements (Required before implementation):

      The bug in the filter when you put under the filter key "User / Group" : "Owner" , is removed. 

      Limitations of Scope (Optional):

      Hints (Optional):

      Currently the behavior is as follows: 

      I have a filter "tasks that I own" with one critera. The criteria has the key "User / Group" : "Owner" and the value of that key is "${currentUser()}" (see screenshot "filter settings"). I assign, with the help of a listener, the current user as an owner to the current task. Then I would expect that task to appear in the filter "tasks that I own". However under that filter I cannot see my task (see screenshot "filter shows no tasks"). But when I click on the settings of that task and just click save (without changing anything), suddenly the tasks I am owner of are appearing (see screenshot "filter shows tasks after clicking on save").

      For me that cleary looks like a bug! If you dont want to fix this bug, please give me a hint for a workaround, because for now I dont have one. Thanks a lot.

        This is the controller panel for Smart Panels app

            [CAM-13290] Filter key "User / Group" : "Owner" is not working as expected

            Marvin Kern created issue -
            Marvin Kern made changes -
            Attachment New: filter settings.png [ 41230 ]
            Description Original: h4. User Story (Required on creation):

            The user clicks on a filter "tasks that I own" in the Camunda Webapp. All tasks are shown which the current user owns. 
            h4. Functional Requirements (Required before implementation):

            There is a filter in the Camunda Webapp, that shows the current user all tasks which he owns. 
            h4. Technical Requirements (Required before implementation):

            The bug in the filter when you put under the filter key "User / Group" : "Owner" , is removed. 
            h4. Limitations of Scope (Optional):
            h4. Hints (Optional):

            Currently the behavior is as follows: 

            I have a filter "tasks that I own" with one critera. The criteria has the key "User / Group" : "Owner" and the value of that key is "${currentUser()}". I assign, with the help of a listener, the current user as an owner to the current task. Then I would expect that task to appear in the filter "tasks that I own". However under that filter I cannot see my task. But when I click on the settings of that task and just click save (without changing anything), suddenly the tasks I am owner of are appearing. For me that cleary looks like a bug. Unfortunately I was not able to upload screenshots because Jira says I am missing a token.
            New: h4. User Story (Required on creation):

            The user clicks on a filter "tasks that I own" in the Camunda Webapp. All tasks are shown which the current user owns. 
            h4. Functional Requirements (Required before implementation):

            There is a filter in the Camunda Webapp, that shows the current user all tasks which he owns. 
            h4. Technical Requirements (Required before implementation):

            The bug in the filter when you put under the filter key "User / Group" : "Owner" , is removed. 
            h4. Limitations of Scope (Optional):
            h4. Hints (Optional):

            Currently the behavior is as follows: 

            I have a filter "tasks that I own" with one critera. The criteria has the key "User / Group" : "Owner" and the value of that key is "${currentUser()}" (see screenshot "filter settings"). I assign, with the help of a listener, the current user as an owner to the current task. Then I would expect that task to appear in the filter "tasks that I own". However under that filter I cannot see my task. But when I click on the settings of that task and just click save (without changing anything), suddenly the tasks I am owner of are appearing. For me that cleary looks like a bug. 
            Marvin Kern made changes -
            Mentioned Roles
            Marvin Kern made changes -
            Mentioned Groups
            Marvin Kern made changes -
            Attachment New: filter shows tasks after clicking on save-1.png [ 41231 ]
            Attachment New: filter shows tasks after clicking on save.png [ 41232 ]
            Attachment New: filter shows no tasks.png [ 41233 ]
            Description Original: h4. User Story (Required on creation):

            The user clicks on a filter "tasks that I own" in the Camunda Webapp. All tasks are shown which the current user owns. 
            h4. Functional Requirements (Required before implementation):

            There is a filter in the Camunda Webapp, that shows the current user all tasks which he owns. 
            h4. Technical Requirements (Required before implementation):

            The bug in the filter when you put under the filter key "User / Group" : "Owner" , is removed. 
            h4. Limitations of Scope (Optional):
            h4. Hints (Optional):

            Currently the behavior is as follows: 

            I have a filter "tasks that I own" with one critera. The criteria has the key "User / Group" : "Owner" and the value of that key is "${currentUser()}" (see screenshot "filter settings"). I assign, with the help of a listener, the current user as an owner to the current task. Then I would expect that task to appear in the filter "tasks that I own". However under that filter I cannot see my task. But when I click on the settings of that task and just click save (without changing anything), suddenly the tasks I am owner of are appearing. For me that cleary looks like a bug. 
            New: h4. User Story (Required on creation):

            The user clicks on a filter "tasks that I own" in the Camunda Webapp. All tasks are shown which the current user owns. 
            h4. Functional Requirements (Required before implementation):

            There is a filter in the Camunda Webapp, that shows the current user all tasks which he owns. 
            h4. Technical Requirements (Required before implementation):

            The bug in the filter when you put under the filter key "User / Group" : "Owner" , is removed. 
            h4. Limitations of Scope (Optional):
            h4. Hints (Optional):

            Currently the behavior is as follows: 

            I have a filter "tasks that I own" with one critera. The criteria has the key "User / Group" : "Owner" and the value of that key is "${currentUser()}" (see screenshot "filter settings"). I assign, with the help of a listener, the current user as an owner to the current task. Then I would expect that task to appear in the filter "tasks that I own". However under that filter I cannot see my task (see screenshot "filter shows no tasks"). But when I click on the settings of that task and just click save (without changing anything), suddenly the tasks I am owner of are appearing (see screenshot "filter shows tasks after clicking on save").

            For me that cleary looks like a bug! If you dont want to fix this bug, please give me a hint for a workaround, because for now I dont have one. Thanks a lot.
            Marvin Kern made changes -
            Mentioned Roles
            Marvin Kern made changes -
            Mentioned Groups
            Marvin Kern made changes -
            Attachment Original: filter shows tasks after clicking on save-1.png [ 41231 ]
            Nikola Koevski made changes -
            Assignee New: Nikola Koevski [ nikola.koevski ]

            Nikola Koevski added a comment - - edited

            Hi MarvinKern,

            Unfortunately, I am unable to replicate this bug with the 7.15.0-alpha4 release.

            I perform the following steps:

            1. I create a process with a User Task;
            2. The User Task has a create Task Listener with the following expression: ${task.setOwner(currentUser())}
              • I also tried with the expression: ${task.setOwner('demo'}, where 'demo' is the user id of the currently authenticated user.
            3. I then create a Tasklist Filter with the following criteria: "User / Group" : "Owner" (key) and ${ currentUser() } (value)
            4. I start several process instances from the process I created in [1].

            The new Tasklist Filter shows the correct tasks once I click on it. It doesn't matter if I start some process instances before I create the filter, the tasks are always shown.

            Are the steps that I am performing correct?
            Can you tell me what version of the Camunda Platform you are using?
            Are there any error logs or stacktraces reported?

            Best,
            Nikola

            Nikola Koevski added a comment - - edited Hi MarvinKern , Unfortunately, I am unable to replicate this bug with the 7.15.0-alpha4 release. I perform the following steps: I create a process with a User Task; The User Task has a create Task Listener with the following expression: ${task.setOwner(currentUser()) } I also tried with the expression: ${task.setOwner('demo' }, where 'demo' is the user id of the currently authenticated user. I then create a Tasklist Filter with the following criteria: "User / Group" : "Owner" (key) and ${ currentUser() } (value) I start several process instances from the process I created in [1] . The new Tasklist Filter shows the correct tasks once I click on it. It doesn't matter if I start some process instances before I create the filter, the tasks are always shown. Are the steps that I am performing correct? Can you tell me what version of the Camunda Platform you are using? Are there any error logs or stacktraces reported? Best, Nikola
            Nikola Koevski made changes -
            Mentioned Roles
            Nikola Koevski made changes -
            Mentioned Groups

              nikola.koevski Nikola Koevski
              MarvinKern Marvin Kern
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: