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

regression: 'emailstop' was removed from upload bulk users using CSV

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Test emailstop field as part of CSV

      1. Navigate to Users > Accounts > Upload Users
      2. Upload Users (MDL-40669).csv and press Upload users
      3. Confirm emailstop column present under Upload users preview
      4. Press Upload users

      Test emailstop field w/ default value

      1. Navigate to Users > Accounts > Upload Users
      2. Upload Users (MDL-40669) 2.csv and press Upload users
      3. Confirm emailstop column not present under Upload users preview
      4. Expand Default values fieldset
      5. Press Show more...
      6. Set the Email stop field to This email address is disabled
      7. Press Upload users

      Test emailstop field w/o default value

      1. Navigate to Users > Accounts > Upload Users
      2. Upload Users (MDL-40669) 3.csv and press Upload users
      3. Confirm emailstop column not present under Upload users preview
      4. Press Upload users

      Confirm values in database

      SELECT username, emailstop FROM mdl_user WHERE username LIKE '%bloggs'
      

      username emailstop
      jbloggs 1
      fbloggs 0
      mbloggs 1
      nbloggs 0
      Show
      Test emailstop field as part of CSV Navigate to Users > Accounts > Upload Users Upload Users (MDL-40669).csv and press Upload users Confirm emailstop column present under Upload users preview Press Upload users Test emailstop field w/ default value Navigate to Users > Accounts > Upload Users Upload Users (MDL-40669) 2.csv and press Upload users Confirm emailstop column not present under Upload users preview Expand Default values fieldset Press Show more... Set the Email stop field to This email address is disabled Press Upload users Test emailstop field w/o default value Navigate to Users > Accounts > Upload Users Upload Users (MDL-40669) 3.csv  and press Upload users Confirm emailstop column not present under Upload users preview Press Upload users Confirm values in database SELECT username, emailstop FROM mdl_user WHERE username LIKE '%bloggs' username emailstop jbloggs 1 fbloggs 0 mbloggs 1 nbloggs 0
    • Workaround:
      Hide

      Use "select bulk users" tool to disable messaging for that group of users (after they have been upload via CSV file to Moodle)

      Show
      Use "select bulk users" tool to disable messaging for that group of users (after they have been upload via CSV file to Moodle)
    • Affected Branches:
      MOODLE_25_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE
    • Pull Master Branch:

      Description

      Although emailstop was removed from early Moodle 2 versions (MDL-26304) and recently implemented (MDL-30260) to prevent messages from being sent via email to user. Which now can be controlled by the user from block administration > user > messages. It was removed from admin/tool/uploaduser.

      Please consider re-implementing it.

        Attachments

        1. image-2019-09-19-10-21-19-948.png
          image-2019-09-19-10-21-19-948.png
          102 kB
        2. Users (MDL-40669).csv
          0.2 kB
        3. Users (MDL-40669) 2.csv
          0.1 kB
        4. Users (MDL-40669) 3.csv
          0.1 kB

          Issue Links

            Activity

              People

              • Votes:
                3 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Nov/19

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 52 minutes
                  1h 52m