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

xml file exported from gradebook should import back into the gradebook with no errors.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.5.6, 2.6.3
    • 2.6
    • Gradebook
    • MOODLE_26_STABLE
    • MOODLE_25_STABLE, MOODLE_26_STABLE
    • wip-MDL-45037-master
    • Hide
      1. Export the gradebook as an xml file.
        1. Choose or create a course.
        2. Make sure that all students enrolled have the ID number field filled out.
        3. Create or edit an activity (one that will produce grades) and make sure that the ID number (Under "Common module settings") is filled out.
        4. Go to a course and then [Administration ► Grade administration ► Export ► XML file].
        5. Make sure that the activity that you edited is show as selected under "Grade items to be included". Click submit.
        6. If you see no preview rows with student names then double check your settings. Click the download button.
      2. Edit the file.
        1. Open up the xml file in an editor.
        2. Change some grades around. Make sure that at least one grade is just a dash "-".
      3. Upload the xml file.
        1. Go to a course and then to [Administration ► Grade administration ► Import ► XML file].
        2. Upload the edited xml file.
        3. Ensure that there are no errors.
      Show
      Export the gradebook as an xml file. Choose or create a course. Make sure that all students enrolled have the ID number field filled out. Create or edit an activity (one that will produce grades) and make sure that the ID number (Under "Common module settings") is filled out. Go to a course and then [Administration ► Grade administration ► Export ► XML file] . Make sure that the activity that you edited is show as selected under "Grade items to be included". Click submit. If you see no preview rows with student names then double check your settings. Click the download button. Edit the file. Open up the xml file in an editor. Change some grades around. Make sure that at least one grade is just a dash "-". Upload the xml file. Go to a course and then to [Administration ► Grade administration ► Import ► XML file] . Upload the edited xml file. Ensure that there are no errors.

      When exporting the gradebook in an xml format, it will mark unmarked items with a dash "-". When trying to import this back in, it will produce a "Supplied grade is invalid" error.

      I think it is fair that exported files should be able to be imported again with no problems.

            abgreeve Adrian Greeve
            abgreeve Adrian Greeve
            Petr Skoda Petr Skoda
            Sam Hemelryk Sam Hemelryk
            Frédéric Massart Frédéric Massart
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.