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

Export Item Analysis Table to Files (excel or text format) Including <br /> Tags

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.4, 1.6.6, 1.7.4, 1.8.4, 1.9
    • Fix Version/s: 1.7.7, 1.8.8, 1.9.4
    • Component/s: Quiz
    • Labels:
      None
    • Affected Branches:
      MOODLE_15_STABLE, MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      Overview

      When users export Item Analysis Table to a file, the names of few columns have extract <br /> XHTML tags.

      Steps to Reproduce

      1. Login as an instructor
      2. Go to any course
      3. Go to any quiz with student attempts
      4. Click on 'Reports'
      5. Click on 'Item analysis'
      6. Click on 'Download in Excel format' or 'Download to text format'

      Expected Result

      Column headers should be identical to the webpage.

      What Actually Happens

      A few headers include extract <br /> tags.

      Also see attached screenshots

        Attachments

        1. mdl19_quiz_export_item_analysis_table_excel_br_tag.png
          29 kB
          Wen Hao Chuang
        2. mdl19_quiz_item_analysis_tab.png
          44 kB
          Wen Hao Chuang
        3. report_php_diff.txt
          29 kB
          Pierre Pichet

          Issue Links

            Activity

              People

              Assignee:
              timhunt Tim Hunt
              Reporter:
              chuang Wen Hao Chuang
              Tester:
              Sam Hemelryk
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                28/Jan/09