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

Import fails if grade import data contains nonexistent user

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.8
    • 2.6.5, 2.7.2
    • Gradebook
    • MOODLE_28_STABLE
    • MOODLE_26_STABLE, MOODLE_27_STABLE
    • MDL-46600_import_failed
    • Hide

      In a course with at least one gradable activity and at least one student do a txt grade export.

      Modify the export. Change a student's email address to an address that doesn't exist.

      Import that file. Map email address to email address. Map one of the activities to itself.

      You should get an error telling you the student that caused the import to fail and stating that no data was actually imported.

      Show
      In a course with at least one gradable activity and at least one student do a txt grade export. Modify the export. Change a student's email address to an address that doesn't exist. Import that file. Map email address to email address. Map one of the activities to itself. You should get an error telling you the student that caused the import to fail and stating that no data was actually imported.
    • 13
    • BACKEND Sprint 15

    Description

      When matching all the data records in the file, mapping the user, if there is even one record which can’t be matched in Moodle, the entire import fails. There is adequate diagnostic, displaying the first user it couldn’t find, but doesn’t tell the instructor no data was imported.

      Attachments

        Issue Links

          Activity

            People

              andyjdavis Andrew Davis
              jethac Jetha Chan
              Simey Lameze Simey Lameze
              Marina Glancy Marina Glancy
              Rajesh Taneja Rajesh Taneja
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                8/Sep/14