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

Debugging on user report when using a hidden category with visible children

    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. Create a blank course
      2. Enrol 1 student in the course
      3. Go to the gradebook setup page for the course
      4. Create a sub category
      5. Create a manual grade item in the sub category
      6. Hide the category total
      7. Go to the grader report and grade the student for the manual grade item
      8. Login as the student and view the user report. (Make sure the contribution to course total column is visible)
      9. Verify there is no debugging.
      1. Repeat the test with all 4 variations of the user reports setting "Hide totals if they contain hidden items".
      Show
      Create a blank course Enrol 1 student in the course Go to the gradebook setup page for the course Create a sub category Create a manual grade item in the sub category Hide the category total Go to the grader report and grade the student for the manual grade item Login as the student and view the user report. (Make sure the contribution to course total column is visible) Verify there is no debugging. Repeat the test with all 4 variations of the user reports setting "Hide totals if they contain hidden items".
    • Affected Branches:
      MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-47763-master

      Description

      In the gradebook it is possible to hide a grade category, but make the category children visible. If you do this - on the user report, the contribution to course total column will generate debugging messages because it will look for the weight of the hidden category.

        Attachments

          Activity

            People

            Assignee:
            damyon Damyon Wiese
            Reporter:
            damyon Damyon Wiese
            Peer reviewer:
            Frédéric Massart
            Integrator:
            Marina Glancy
            Tester:
            Simey Lameze
            Participants:
            Component watchers:
            Jake Dallimore, Jun Pataleta
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

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