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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8.2
    • 1.8.4, 1.9
    • Quiz
    • None
    • course formats other than weeks, weekscss, and topics
    • MOODLE_18_STABLE
    • 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

            timhunt Tim Hunt
            trick Alan Trick
            Nobody Nobody
            Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Jan/08