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

Essay Question Type - Exported response text stripped incorrectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 4.1.9, 4.4
    • Questions, Quiz
    • MOODLE_401_STABLE, MOODLE_404_STABLE

      Reporting an issue wherein if you export quiz responses with content like '<—' followed by anything else thereafter, example: '<—String of text', Any text that follows immediately after <--- is stripped from the export.

       

      Steps to replicate:

      1. Create a course
      2. Create a quiz
      3. Create an essay question
      4. Log in as a student
      5. Attempt the quiz and add a response, something like:
        This is an <---example answer
      6. Save the attempt and submit it
      7. Log back in as the editing teacher or admin
      8. Export the quiz response
      9. Notice the stripped text after export

       

      Observed:

      The text in the export is stripped after '<---' but appears fine otherwise on the response report within Moodle.

      Expected: The exported responses should contain all text

      What I suspect to be happening is that there might be a missing function to escape special characters for each response?

            Unassigned Unassigned
            samual.preiss Samual Preiss
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 16 minutes
                16m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.