-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
3.6.4
-
MOODLE_36_STABLE
-
- Log in as Admin or Manager.
- Go to the Permissions page in any context.
- Test the add and remove roles icons.
- Verify that they always work.
This is happening 100% reproducibly on the OU test server, with latest moodle.org master branch, but it is not happening for me on qa.moodle.net.
- Log in as admin (or other role).
- Go to the permissions page for any context (admin/roles/permissions.php?contextid=N).
- Click the X icon by any role. (That is a dustbin icon in boost)
Expected result: pop-up opens with a confirmation message.
Actual result: pop-up opens saying [[confirmroleundefined,core_role]], and then the UI does not work.
If, at this point, you close the dialogue (e.g. press Esc) and then click the un-assign role X again, it works the second time. If you reload the page (F5) then it breaks again, for the first time you click an icon after that.
- duplicates
-
MDL-64523 "Cannot read property 'filter' of undefined" when editing/overriding permissions
-
- Closed
-