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

XML Public Key link does not contain exported scores in 2.9+

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.8, 2.9, 3.0
    • Fix Version/s: 2.8.9, 2.9.3
    • Component/s: Gradebook
    • Labels:
    • Testing Instructions:
      Hide

      Don't forget to add id number for users and activities.

      1. Enable gradepublising.
      2. In a course, give some students some grades.
      3. Go to grade export > XML File.
      4. Expand the grade publishing options and add a user key.
      5. Select the user key and click Export.
      6. Click on the link and open the xml file.
      7. Make sure the <score></score> tags were generated with the user score.
      8. Run /home/moodle/moodles/stable_master/moodle/grade/export/xml/tests/behat/export.feature make sure it pass
      Show
      Don't forget to add id number for users and activities. Enable gradepublising. In a course, give some students some grades. Go to grade export > XML File. Expand the grade publishing options and add a user key. Select the user key and click Export. Click on the link and open the xml file. Make sure the <score></score> tags were generated with the user score. Run /home/moodle/moodles/stable_master/moodle/grade/export/xml/tests/behat/export.feature make sure it pass
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-50959-master
    • Sprint:
      Team Both Sprint 1

      Description

      If I export some grades with the xml grade export scores will show up between the <score> and </score> tags. When I Publish the grades and get a new Public Key and click on the public link to the file, the file is missing the grades. This worked great until we just upgraded our Moodle to 2.9. I had been using a Google spreadsheet to automatically generate bar graphs from the public xml feed. The bar graphs were embedded in a Google Site so bar graphs were updating even as students finished taking for example a test. It was awesome and I was going to start trying to get Arduino to light up some LEDs also but after the upgrade I can't get this to work anymore.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lameze Simey Lameze
              Reporter:
              hermonm Marc Hermon
              Peer reviewer:
              cameron1729
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Mark Nelson
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Nov/15