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

table in /mod/quiz/index.php gets columns screws with with different formats

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.2
    • Fix Version/s: 1.8.4, 1.9
    • Component/s: Quiz
    • Labels:
      None
    • Environment:
      course formats other than weeks, weekscss, and topics
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      The list of quizzes only works properly with the weeks, weekscss, and topics formats. The problems that revision 1.37.2.3 fixed for the weekcss format still happen for all the other formats.

      The quick fix is to switch lines 93 and 92 on revision 1.37.2.4; however, that's only a poor hack. These kinds of hard-coded checks for the format name happen in several places across Moodle and cause difficulties for 3rd party formats. It would be better if this did a check for some attribute of the format's class or something.

        Attachments

          Activity

            People

            Assignee:
            timhunt Tim Hunt
            Reporter:
            trick Alan Trick
            Tester:
            Nobody
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Jan/08