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

JSON Syntax errors in templates

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.2, 3.2
    • Fix Version/s: 3.1.3
    • Component/s: HTML and CSS
    • Labels:
    • Testing Instructions:
      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)
    • Affected Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull Master Branch:
      MDL-56448-master

      Description

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                poltawski Dan Poltawski
                Reporter:
                poltawski Dan Poltawski
                Integrator:
                Eloy Lafuente (stronk7)
                Tester:
                Eloy Lafuente (stronk7)
                Participants:
                Component watchers:
                Amy Groshek, David Scotson, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/Nov/16