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

Required custom profile fields and Uploaded users

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.9.25
    • User management
    • None
    • MOODLE_39_STABLE

       
      The normal behavior when we have a custom profile field that’s set as “required” is that the next time a new user logs in they go directly to their Edit Profile page to complete the new field.

      However if we upload new users from csv, those new users aren’t taken to their profile page when they log in. Even though those fields were not included in the upload file, and nothing was chosen for those fields during the upload process. The uploaded users can proceed with using the site, even though they haven’t completed the required profile fields.

      I thought that maybe the required field for the upload users has some sort of placeholder data from the upload. Essentially the data isn’t empty in the db. But if I attempt to edit profile as one of my test users, I must set the fields before I can Update Profile. So the fields do seem to actually be empty in the db. But I have to go the Edit Profile page directly to discover that. 

      If I upload the users, and then create a required profile field, the uploaded users go to their edit profile page. So the fact that their account was uploaded rather than manually created doesn't matter.

      I’ve tested this on Moodle and MWP both 3..9 and 3.10. 
       
       

            Unassigned Unassigned
            Alagnak John DeFonzo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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