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

CSV file user upload problems

    XMLWordPrintable

    Details

      Description

      The CSV file user upload has the following issues:

      1. An '"emailstop" is not a valid field name' error.
      2. It doesn't update the user "auth" column when auth=nologin.

      I tried the exercise with IE8 and FireFox, but neither worked.

      Replication instructions:

      1. I created an UTF-8, tab delimited CSV file:

      username--firstname-lastname--emailstop
      xxx--aaa-bbb--1

      (where the three dashes represent a tab) in order to update some user registers. I got an '"emailstop" is not a valid field name' error.

      2. I created an UTF-8, tab delimited CSV file to set the auth field of some users to "nologin":

      username--firstname-lastname--auth
      xxx--aaa-bbb--nologin

      And the "Upload users results" page reported:

      User up-to-date | ## | ## | xxx | aaa | bbb | manual / manual-->nologin
      Users updated: 0
      Users having a weak password: 0
      Errors: 0

        Attachments

        1. MDL-27804.png
          MDL-27804.png
          120 kB
        2. temp.utx
          0.1 kB
        3. temp2.csv
          0.1 kB

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                1/Aug/11