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

Creating a required Checkbox user profile field no longer force users to update profile

    XMLWordPrintable

Details

    • Any, PostgreSQL
    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MOODLE_402_STABLE, MOODLE_403_STABLE
    • MDL-74500-402
    • MDL-74500-403
    • Hide
      1. Log in as admin
      2. Navigate to Users > Accounts > User profile fields in site administration
      3. Create a new Checkbox field
        • Short name: check
        • Name: Check
        • Is this field required: Yes
      4. Navigate to your profile page
      5. Confirm you see Check: No under User details
      6. Log out
      7. Log in as admin again
      8. Confirm you are redirected to your edit profile page to fill in the required field
      9. Press Update profile
      10. Navigate back to your profile page
      11. Confirm you see Check: No under User details
      12. Log out
      13. Log in as admin again
      14. Confirm you are not redirected to your edit profile page
      Show
      Log in as admin Navigate to Users > Accounts > User profile fields in site administration Create a new Checkbox field Short name: check Name: Check Is this field required: Yes Navigate to your profile page Confirm you see Check: No under User details Log out Log in as admin again Confirm you are redirected to your edit profile page to fill in the required field Press Update profile Navigate back to your profile page Confirm you see Check: No under User details Log out Log in as admin again Confirm you are not redirected to your edit profile page

    Description

      Before 4.0, creating a required Checkbox user profile field forced users to update their profile. Then users could decide whether to select the checkbox or not, but they were forced to update the profile. In 4.0 it no longer happens, other profile field types (like Text input) behave as they used to, but not Checkbox.

      How to reproduce:

      1. As admin, go to Site administration > Users > User profile fields.
      2. Click "Create a new profile field" and select "Checkbox".
      3. Add a short name and a name. In "Is this field required?" select Yes.
      4. Save the changes. Now you should be redirected to the page to update the admin profile, but you aren't.

      Attachments

        Issue Links

          Activity

            People

              pholden Paul Holden
              dpalou Dani Palou
              Stevani Andolo Stevani Andolo
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Ron Carl Alfon Yu Ron Carl Alfon Yu
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 41 minutes
                  2h 41m

                  Clockify

                    Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.