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

Problems with quiz item analysis and tex-filter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 1.8.2
    • Fix Version/s: None
    • Component/s: Quiz
    • Labels:
      None
    • Database:
      PostgreSQL
    • Affected Branches:
      MOODLE_18_STABLE

      Description

      The item analysis of the quiz results creates a wrong result: each answer option who has a formula inside and was checked by at least one student is doubled (please see attached screenshot).
      This just happens in questions with mathematical formulas (we have activated the TeX-filter), in "normal" questions there is no problem.

      The reason seems to be that the same formula in the answer option is saved one time rendered (in quiz results) and one time not rendered by the TeX filter (questions database).
      For example:
      $($) formula $($) (not rendered, in questions database)
      <a target="popup" title="TeX" href="/filter/tex/displaytex.php?formula" ... (rendered by TeX filter, in quiz results)
      The quiz does not recognize this as the same answer option and doubles the answer in the table.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              timhunt Tim Hunt
              Reporter:
              raol Oliver Rahs
              Tester:
              Nobody Nobody
              Participants:
              Component watchers:
              Tim Hunt, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: