-
Bug
-
Resolution: Fixed
-
Major
-
3.2
-
MOODLE_32_STABLE
-
MOODLE_32_STABLE
-
MDL-56822-master -
sitepolicynotagreed error appears on site policy page after MDL-56292
Note that this appears for sites without debugging enabled as well. With an ugly header of "undefined".
Site policy not agreed: <a href="http://example.com">Click here to open the site policy.</a>
Please note: HTML is escaped so it looks exactly like that. It's not a working link. Example.com is my site policy URL.
This error is not useful to the user at all, they are just about to either accept or reject the policy
It is probably caused by messaging trying to request messages before the policy is agreed to.
This is where the exception is thrown: https://github.com/moodle/moodle/blob/master/lib/moodlelib.php#L2705
The user can simply close the (two) dialog boxes that appear. But it's very poor user experience that we are introducing in 3.2
- caused a regression
-
MDL-57087 Site containing a site policy hides messaging icons for admin
- Closed