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

block_timeline causes JSON parse error when activity name contains quotes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Waiting for peer review
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.6.5, 3.7.1
    • Fix Version/s: None
    • Component/s: Blocks
    • Labels:

      Description

      The following error message (caused by block_timeline) appears when it has to show a due date of an activity or course name that contains at least two double quotes:

      JSON.parse: expected ',' or '}' after property value in object at line 1 column 21 of the JSON data

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                30 Vote for this issue
                Watchers:
                22 Start watching this issue

                Dates

                • Created:
                  Updated: