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

Student gradebook table is malformed when a category is hidden

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • None
    • 1.9.8
    • Gradebook
    • None
    • n/a
    • MOODLE_19_STABLE
    • Easy

      When gradebook categories are setup, with nested categories, e.g.

      Course
      ---Unit 1
      ------Unit 1 Graded
      ------Unit 1 Ungraded
      ------Unit 1 Test
      ---Unit 2
      ------Unit 2 Graded
      ------Unit 2 Ungraded
      ------Unit 2 Test

      The student gardebook reflects this structure. Specifically, the parent categories ('Unit 1' and 'Unit 2') have leading cells that have a rowspan value that means the child categories are visually contained within the parent.

      However...

      If one of the sub-categories (e.g. 'Unit 1 Ungraded') is hidden by the teacher, the student gradebook becomes malformed. The parent category (in this case 'Unit 1') has a leading cell rowspan value that includes the hidden child category, even though the child cells are not shown. This incorrect rowspan value deforms the remainder of the gradebook table.

      This has been discussed in the forums (where there are screenshots showing the issue), where I've also posted a patch...

      http://moodle.org/mod/forum/discuss.php?d=142229#p641882

      (This seems are very visible bug, yet I couldn't find it in the Tracker, nor many mentions in the forums - strange!)

            andyjdavis Andrew Davis
            stevecopley Steve Copley (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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