Bug 1320357 - [GSS] (6.2.z) Default Tasks List filters doesn't keep up with user's roles changes
Summary: [GSS] (6.2.z) Default Tasks List filters doesn't keep up with user's roles ch...
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: CR1
: 6.2.3
Assignee: Neus Miras
QA Contact: Lukáš Petrovický
URL:
Whiteboard:
Depends On: 1320030
Blocks: 1327765
TreeView+ depends on / blocked
 
Reported: 2016-03-23 01:15 UTC by Toshiya Kobayashi
Modified: 2020-03-27 20:06 UTC (History)
4 users (show)

Fixed In Version:
Clone Of: 1320030
Environment:
Last Closed: 2020-03-27 20:06:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Toshiya Kobayashi 2016-03-23 01:15:21 UTC
+++ This bug was initially created as a clone of Bug #1320030 +++

Description of problem:

Once a user opens Tasks List in business-central, Tasks List filters (multigrid-preferences/DataSetTaskListGrid in user's branch in system.git) are initialized with the user's roles. But those filters are not updated when user's roles are changed later on. So from user's point of view, even after adding a valid role to the user, Tasks List doesn't show tasks.

Steps to Reproduce:
1. Start BPMS
2. Log in as bpmsAdmin
3. Go to [Tasks]->[Tasks List] (This initializes the filters)
4. Go to [Authoring]->[Administration]
5. Clone the attached reproducer-repo.zip
6. Confirm that "Task1" in "helloProcess" has 'mygroup' in "Groups" attribute.
7. Build&Deploy
8. Go to [Process Management]->[Process Definitions]. Start "helloProcess". 
9. Go to [Tasks]->[Tasks List]. "Active" tab lists nothing. It's okay.
10. Stop BPMS
11. Add a group 'mygroup' to bpmsAdmin using add-user.sh
12. Start BPMS
13. Go to [Tasks]->[Tasks List].

Actual results:

"Active" tab lists nothing

Expected results:

"Active" tab lists a Task.

Additional info:

After the step 13, pressing "Restore default filters" button re-creates the filters with the current roles. So it can be a workaround. But it's difficult for users to know when they should press it.

Comment 2 Neus Miras 2016-03-29 10:41:39 UTC
This PR pick the fix to 6.3.x branch.

https://github.com/droolsjbpm/jbpm-console-ng/pull/379

Comment 3 Neus Miras 2016-03-30 14:19:21 UTC
The filter for the admin tab has been changed to retrieve the task of user logged roles independently of the owner.

A new PR has been created that include the modifications:
6.3.x
https://github.com/droolsjbpm/jbpm-console-ng/pull/382

Comment 5 Lukáš Petrovický 2016-04-14 07:55:46 UTC
This is meant to 6.2.3.

Comment 6 Jan Hrcek 2016-05-06 06:00:04 UTC
Ok, working fine now. Verified with BPM Suite 6.2.3 patch.


Note You need to log in before you can comment on or make changes to this bug.