Can't stop masquerading as user if they have a profile field required
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Low
|
Robert Lyon |
Bug Description
To test:
1) Log into a site, that contains a bunch of users, as a site admin.
2) Set a profile field as compulsory (in Extensions -> artefact -> profile configuration form) - pick one you know the users haven't filled in before.
3) Navigate away from page and you are prompted to fill in detail (if you don't have it filled in)
4) Now try to masquerade as a user - you should see the 'Required profile fields' form to allow you to update the user.
5) But you decide you don't want to fill in the info - maybe you don't know it - so you click the 'Become Administrator again' link at top of page.
Problem:
But instead of stopping the masquerading it keeps wanting you to fill in the info for the user.
Issue:
Need to ignore the checking of required fields when exiting masquerading
Changed in mahara: | |
milestone: | none → 1.10.0 |
status: | In Progress → Fix Committed |
no longer affects: | mahara/1.7 |
no longer affects: | mahara/1.8 |
no longer affects: | mahara/1.9 |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for "master" branch: https:/ /reviews. mahara. org/3375