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

Cannot import xml grades when using non-numeric scale

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.9.3
    • None
    • Gradebook
    • MOODLE_39_STABLE
    • Hide
      1. Create a course scale
      2. Create an assign using that scale for grading
      3. Submit an assign by a student
      4. Grade the student
      5. Export grades as XML
      6. Import grades as XML
      7. Error occurs: Supplied grade is invalid.
      Show
      Create a course scale Create an assign using that scale for grading Submit an assign by a student Grade the student Export grades as XML Import grades as XML Error occurs: Supplied grade is invalid.

    Description

      When using a scale within Assign as an example, you can successfully export and import via CSV with/without making change thanks to MDL-14840. Using the XML format the original noted problem still exists. This is backed up by no scale matching code to translate into scale index value.

      Attachments

        1. error.png
          error.png
          14 kB
        2. export.png
          export.png
          7 kB
        3. import_xml_error.png
          import_xml_error.png
          63 kB
        4. import.png
          import.png
          6 kB

        Activity

          People

            Unassigned Unassigned
            tlock Tim Lock
            Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: