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

Broken table in outcomes report when outcome has no items

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9, 2.0
    • Component/s: Gradebook
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      Two reasons:

      1. The code checks for the presence of an array of grade items for each outcome, when it should be checking for whether the array is empty or not.
      2. When there are no grade items using the outcome, an attribute of rowspan="0" is given to the cells, which breaks the table even more.

        Attachments

          Activity

            People

            • Assignee:
              nicolasconnault Nicolas Connault
              Reporter:
              nicolasconnault Nicolas Connault
              Participants:
              Component watchers:
              Jake Dallimore, Jun Pataleta, Ryan Wyllie
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

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