Shared access with users produces a warning in 19.10 when search results count = 0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Committed
|
High
|
Lisa Seeto | ||
19.04 |
Fix Released
|
High
|
Unassigned | ||
19.10 |
Fix Released
|
High
|
Unassigned |
Bug Description
The code currently in 19.10 to share access with 'Users' will produce a warning when the search count is 0, i.e a site that has no current users. It's possible there are other ways to return a User search count of 0 but this is the most reliable for testing purposes.
The warning message is:
[WAR] c4 (view/access.
To reproduce:
1. On a fresh install of Mahara 19.10 codebase with no users, create a page.
2. Navigate to "Share" and select to edit share access for the new page
3. Select "User" from dropdown box and scroll on the drop down to select a User (it will say No results found)
4. Refresh the page
Expected results:
Page displays no warnings
Actual results:
Page displays with a warning message
This is happening in 19.10 (possibly a fix needs to be applied to earlier versions of the code). This issue didn't affect code after 19.10.
no longer affects: | mahara/18.10 |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Patch for "19.10_STABLE" branch: https:/ /reviews. mahara. org/10859