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

CSV user uploads do not allow alternate name fields.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6
    • Component/s: Libraries
    • Labels:
    • Testing Instructions:
      Hide
      1. Using the file provided (test-user.csv) go to bulk upload [Administration ► Site administration ► Users ► Accounts ► Upload users] and upload the file. [Test] Check that there are no notices or errors when uploading the file.
      2. Edit the csv file and remove all of the firstname, lastname, or firstname and lastname columns and data.
      3. Upload the edited file and [Test] make sure that there is a message saying that these required fields are missing.
      Show
      Using the file provided (test-user.csv) go to bulk upload [Administration ► Site administration ► Users ► Accounts ► Upload users] and upload the file. [Test] Check that there are no notices or errors when uploading the file. Edit the csv file and remove all of the firstname, lastname, or firstname and lastname columns and data . Upload the edited file and [Test] make sure that there is a message saying that these required fields are missing.
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip-MDL-40683-master
    • Sprint:
      BACKEND Sprint 6

      Description

      When trying to upload users via a CSV file it comes up with an error saying that 'firstnamephonetic' is not a valid field name.
      This is due to the fact that the alternate name fields have not been added to $STD_FIELDS in admin/tool/uploaduser/index.php on line 87.

        Attachments

          Activity

            People

            Assignee:
            abgreeve Adrian Greeve
            Reporter:
            abgreeve Adrian Greeve
            Peer reviewer:
            Ankit Agarwal
            Integrator:
            Damyon Wiese
            Tester:
            Petr Skoda
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              18/Nov/13