-
Bug
-
Resolution: Fixed
-
Critical
-
4.0.5, 4.1 regressions, 4.1
-
2
-
Team Hedgehog Sprint 1.2, Team Hedgehog Sprint 1.3
I updated my 4.0.x to Moodle 4.1.x yesterday and got this syntaxError everytime I go to the /my/courses.php and /my/
Steps to replicate:
- Create a course with in the Course Fullname start with left curly bracket "{" symbol. e.g. " { history 101"
- Enrol a student.
- Log in as student
- Check if the student gets the syntax error on the /my/courses.php page when have ALL selected
in JSON at position 1
at JSON.parse (<anonymous>)
at Renderer.stringHelper (https://xxx/lib/requirejs.php/1669627321/core/first.js:1030:6762)
at Renderer.<anonymous> (https://xxx/lib/requirejs.php/1669627321/core/first.js:1030:8295)
at Writer.renderSection (https://xxx/lib/requirejs.php/1669627321/core/first.js:470:9122)
at Writer.renderTokens (https://xxx/lib/requirejs.php/1669627321/core/first.js:470:7802)
at Writer.renderPartial (https://xxx/lib/requirejs.php/1669627321/core/first.js:470:10400)
at Writer.renderTokens (https://xxx/lib/requirejs.php/1669627321/core/first.js:470:7975)
at Writer.renderBlockVariable (https://xxx/lib/requirejs.php/1669627321/core/first.js:470:11022)
at Writer.renderTokens (https://xxxlib/requirejs.php/1669627321/core/first.js:470:8128)
at Writer.renderPartial (https://xxx/lib/requirejs.php/1669627321/core/first.js:470:10400) undefined