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

Grade XML export always includes the course total

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8
    • Fix Version/s: 2.8
    • Component/s: Gradebook
    • Labels:
    • Testing Instructions:
      Hide
      1. On a course with an assignments and enrolled user.
      2. Edit the students and give ID numbers.
      3. Give an ID number to this assignment and grade few students.
      4. Go to Grade administration > Export > XML file.
      5. Please note the message No ID number on the Course total grade item.
      6. Click on Download button and make sure the Course total was not included on the exported data, only the assignment grades.
      7. Now, go to Categories and items and click on Edit link of the course (not course total).
      8. Expand the tabs and assign an ID number and click on Save changes.
      9. Go to Grade administration > Export > XML file.
      10. Select the Course total checkbox.
      11. Click on Download button and make sure the Course total was included on the exported data.
      12. Uncheck the Course total checkbox and export again.
      13. Make sure the Course total was not included on the exported data.
      14. Try to export in all other formats and make it sure it's exporting properly (All other grade exports doesn't require an ID number).
      Show
      On a course with an assignments and enrolled user. Edit the students and give ID numbers. Give an ID number to this assignment and grade few students. Go to Grade administration > Export > XML file. Please note the message No ID number on the Course total grade item. Click on Download button and make sure the Course total was not included on the exported data, only the assignment grades. Now, go to Categories and items and click on Edit link of the course (not course total). Expand the tabs and assign an ID number and click on Save changes . Go to Grade administration > Export > XML file. Select the Course total checkbox. Click on Download button and make sure the Course total was included on the exported data. Uncheck the Course total checkbox and export again. Make sure the Course total was not included on the exported data. Try to export in all other formats and make it sure it's exporting properly (All other grade exports doesn't require an ID number).
    • Affected Branches:
      MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-48047-master

      Description

      Grade XML export includes the course total even if it was not selected on the export page and has no idnumber.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Nov/14