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

JSON Syntax errors in templates

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.3
    • 3.1.2, 3.2
    • HTML and CSS
    • MOODLE_31_STABLE, MOODLE_32_STABLE
    • MOODLE_31_STABLE
    • MDL-56448-master
    • Hide

      Cibot will validate the templates in this issue, there should be no fatal errors - thats should be enough.

      EXPERT MODE (With local_ci checkout):
      find /path/to/moodle -name '.mustache' -not -path '/node_modules/*' -exec php /path/to/local_ci/mustache_lint/mustache_lint.php --filename={} --validator=http://localhost:8888/ --basename=/path/to/moodle \; | grep ERROR

      There should be no output (but was before the patch)

      Show
      Cibot will validate the templates in this issue, there should be no fatal errors - thats should be enough. EXPERT MODE (With local_ci checkout): find /path/to/moodle -name ' .mustache' -not -path ' /node_modules/*' -exec php /path/to/local_ci/mustache_lint/mustache_lint.php --filename={} --validator= http://localhost:8888/ --basename=/path/to/moodle \; | grep ERROR There should be no output (but was before the patch)

      There are a number of json syntax errors in our mustache files

            poltawski Dan Poltawski
            poltawski Dan Poltawski
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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