Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.1.3
-
MOODLE_21_STABLE
-
MOODLE_22_STABLE
Description
Set debug level to DEVELOPER
Go to Site administration > Users > Accounts > User profile fields
Add a "checkbox" profile fields to the signup form with the following attributes:
-> Is this field required? yes
-> Display on signup page? yes
-> Who is this field visible to? Visible to everyone
Log out.
Go to the signup form as non authenticated user.
You see:
context_system::instance(): invalid $id parameter detected, should be 0
|
|
line 5532 of /lib/accesslib.php: call to debugging()
|
line 6807 of /lib/accesslib.php: call to context_system::instance()
|
line 32 of /user/profile/field/checkbox/field.class.php: call to get_context_instance()
|
line 72 of /user/profile/lib.php: call to profile_field_checkbox->edit_field_add()
|
line 477 of /user/profile/lib.php: call to profile_field_base->edit_field()
|
line 103 of /login/signup_form.php: call to profile_signup_fields()
|
line 154 of /lib/formslib.php: call to login_signup_form->definition()
|
line 46 of /login/signup.php: call to moodleform->moodleform()
|
Attachments
Issue Links
- is a regression caused by
-
MDL-29602 cleanup and improve acccesslib META
-
- Closed
-