Unable to remove users from group when pagination is used
Bug #1755508 reported by
ma
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Cecilia Vela Gurovic | ||
17.04 |
Fix Released
|
High
|
Unassigned | ||
17.10 |
Fix Released
|
High
|
Unassigned | ||
18.04 |
Fix Released
|
High
|
Cecilia Vela Gurovic | ||
18.10 |
Fix Released
|
High
|
Cecilia Vela Gurovic |
Bug Description
Version: Mahara Version 17.10.1
Server OS: Linux (CentOS 7.4.1708)
Client OS: Windows 10
Database: MySQL
Browser: Chrome
I am unable to remove users from groups when pagination is used and the user, which should be removed, is on a page higher than 1. I dont touch the sortorder and items per page settings, so standard sortorder "admin first" and "10 items per page" are used.
It works for users on the first page, but doesnt work on all other pages. It just redirects me back to page 1. There is no entry in the logfile.
I could replicate this on the latest 17.10 and on master.
1. Create a group with controlled membership (to make adding of people easy).
2. Upload a CSV file with 30+ new users.
3. Add all these users to the group.
4. Go to "Members" in the group and there to page 2 or higher and click the "Remove from group" button.
Expected result: The user is deleted and the confirmation message "User removed" is displayed towards the top of the screen.
Actual result: You are just redirected to the first page of "Members".