Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.7, 3.7.1, 3.7.2, 3.8.5, 3.9.2
-
None
-
MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
Description
When a user logs into Moodle if any of the required custom profile fields is blank they should be directed to their profile page to complete those automatically. That doesn't seem to be working since 3.7.
- As an admin, go to Site administration ► Users ► Accounts ► User profile fields
- Select "Text input" field and set following:
- shortname = qa
- Name = Moodle QA
- Is this field required? = Yes
- Is this field locked? = No
- Press "Save changes"
- Log in as student and ensure you get redirected to "Edit profile" page
- Enter value for "Moodle QA" as "Test" and press "Update profile"
- Logout and login as same student.
- This time you should be redirected to dashboard.
- Logout and Login as admin
- Go to Site administration ► Users ► Accounts ► User profile fields
- Click "Edit" Icon next to "Moodle QA" field and set following:
- Is this field required? = No
- Press "Save changes"
- Log in as another student and ensure you don't get redirected to "Edit profile" page
Attachments
Issue Links
- has been marked as being related by
-
MDL-57929 profile_has_required_custom_fields_set fails to detect if a custom profile field is empty
-
- Open
-