Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-11573 META: New gradebook bugs reported by OU
  3. MDL-11622

Export of grades does not include correct student ID

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9
    • Component/s: Gradebook
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      I am trying to export grades in XML mode.
      I have set this as the site default.
      On selecting the quiz for which I wish to export grades I obtain the preview shown in Figure 1. This looks correct.
      However when I download the file the values in the <student></student> fields are not the IDs shown in Figure 1 but are as follows
      <results batch="xml_export_1191614551">
      <result>
      <state>new</state>
      <assignment>pgb1icma02</assignment>
      <student>11</student>
      <score>90.00000</score>
      </result>
      <result>
      <state>new</state>
      <assignment>pgb1icma02</assignment>
      <student>12</student>
      <score>80.00000</score>
      </result>
      <result>
      <state>new</state>
      <assignment>pgb1icma02</assignment>
      <student>13</student>
      <score>60.00000</score>
      </result>
      <result>
      <state>new</state>
      <assignment>pgb1icma02</assignment>
      <student>14</student>
      <score>40.00000</score>
      </result>
      <result>
      <state>new</state>
      <assignment>pgb1icma02</assignment>
      <student>15</student>
      <score>20.00000</score>
      </result>
      </results>

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            pgb Philip Butcher
            Tester:
            Nobody
            Participants:
            Component watchers:
            Jake Dallimore, Jun Pataleta
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              3/Mar/08