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

XML grade import broken by sticky footer changes

XMLWordPrintable

    • MOODLE_403_STABLE
    • MOODLE_403_STABLE
    • Hide
      1. Log in as admin
      2. Create a new user
        • ID number: 123
      3. Create a course
      4. Enrol user as a student in course
      5. Navigate to course Grades > Gradebook setup
      6. Press Add grade item
        • ID number: algebra
      7. Select Import > Import as XML file from navigation
      8. Upload test.xml and press Upload grades
      9. Confirm no errors are shown
      10. Press Continue
      11. Confirm test user has 50 for the created grade item
      Show
      Log in as admin Create a new user ID number: 123 Create a course Enrol user as a student in course Navigate to course Grades > Gradebook setup Press Add grade item ID number: algebra Select Import > Import as XML file from navigation Upload test.xml and press Upload grades Confirm no errors are shown Press Continue Confirm test user has 50 for the created grade item

      While reviewing MDL-78296 I encountered the following error when trying to import an XML file:

      Exception - Call to undefined function import_xml_grades()
       
      More information about this error
      Debug info:
      Error code: generalexceptionmessage
      Stack trace:
       
          line 60 of /grade/import/xml/index.php: Error thrown
      

      This is a regression from MDL-77635 (the testing instructions there seem to cover only CSV import), probably because of these require_once statements being changed

        1. test.xml
          0.2 kB
        2. MDL-78519.png
          MDL-78519.png
          277 kB

            pholden Paul Holden
            pholden Paul Holden
            Ilya Tregubov Ilya Tregubov
            Andrew Lyons Andrew Lyons
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 56 minutes
                56m

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