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

Upload user defaults ignored when uploading new users

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Create a CSV file with fields: username, firstname, lastname, email; and fill in details for at least one user that is not yet existing in Moodle.
        e.g.

        username,firstname,lastname,email
        s20,John,Doe,john.doe@example.com
        

      2. Visit Site admin > Users > Accounts > Upload users
      3. Upload the CSV file
      4. On the second form, set:
        • 'Upload type' to 'Add new only, skip existing users'
        • 'City/town' (under 'Default values') to 'Paris'
      5. Click 'Upload users'
      6. Check the city for the newly created users.
        • Confirm that the city is set to 'Paris'
      Show
      Create a CSV file with fields: username, firstname, lastname, email; and fill in details for at least one user that is not yet existing in Moodle. e.g. username,firstname,lastname,email s20,John,Doe,john.doe@example.com Visit Site admin > Users > Accounts > Upload users Upload the CSV file On the second form, set: 'Upload type' to 'Add new only, skip existing users' 'City/town' (under 'Default values') to 'Paris' Click 'Upload users' Check the city for the newly created users. Confirm that the city is set to 'Paris'
    • Affected Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE
    • Pull Master Branch:

      Description

      • Create a CSV file with fields: username, firstname, lastname, email; and fill in details for at least one user
      • Visit Site admin > Users > Accounts > Upload users
      • Upload the CSV file
      • On the second form, set:
        • 'Upload type' to 'Add new only, skip existing users'
        • 'City/town' (under 'Default values') to 'Paris'
      • Click 'Upload users'

      Expected result:

      • Users created with their city field set to 'Paris'

      Actual result:

      • Users created, but their city field is blank

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  15/Jan/18