Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-66720

User is NOT forced to complete required custom user profile fields

    XMLWordPrintable

    Details

    • Affected Branches:
      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.

       

      1. As an admin, go to Site administration ► Users ► Accounts ► User profile fields
      2. Select "Text input" field and set following:
        • shortname = qa
        • Name = Moodle QA
        • Is this field required? = Yes
        • Is this field locked? = No
      3. Press "Save changes"
      4. Log in as student and ensure you get redirected to "Edit profile" page
      5. Enter value for "Moodle QA" as "Test" and press "Update profile"
      6. Logout and login as same student.
      7. This time you should be redirected to dashboard.
      8. Logout and Login as admin
      9. Go to Site administration ► Users ► Accounts ► User profile fields
      10. Click "Edit" Icon next to "Moodle QA" field and set following:
        • Is this field required? = No
      11. Press "Save changes"
      12. Log in as another student and ensure you don't get redirected to "Edit profile" page

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              schweit@isu Jeremy Schweitzer
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              11 Vote for this issue
              Watchers:
              16 Start watching this issue

                Dates

                Created:
                Updated: