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

Upgrade loglevel.js to 1.4.1 for Moodle 3.2 release

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.2
    • 3.2
    • JavaScript, Libraries
    • MOODLE_32_STABLE
    • MOODLE_32_STABLE
    • MDL-56010-master
    • Hide
      1. Create this test template in lib/templates/test.mustache

        {{!                                                                                                                                 
            @template core/test                                                                                                             
                                                                                                                                            
            Testing template.                                                                                                               
                                                                                                                                            
            Example context (json):                                                                                                         
            { "messa"ge": "Your pants are on fire!" }                                                                                       
        }}                                                                                                                                  
        <div class="alert alert-success">{{{message}}}</div>
        

      2. Set debugging to 'Developer'.
      3. Go to the Template Library admin tool and view the test template with your javascript console open. Confirm that you see "Could not parse json example context for template." with a stack trace etc.
      4. Set the loglevel to "None". You may need to force a cache reload. Repeat the test. Confirm that you don't see any message in the javascript console this time.
      Show
      Create this test template in lib/templates/test.mustache {{! @template core/test Testing template. Example context (json): { "messa"ge": "Your pants are on fire!" } }} <div class="alert alert-success">{{{message}}}</div> Set debugging to 'Developer'. Go to the Template Library admin tool and view the test template with your javascript console open. Confirm that you see "Could not parse json example context for template." with a stack trace etc. Set the loglevel to "None". You may need to force a cache reload. Repeat the test. Confirm that you don't see any message in the javascript console this time.
    • 3.2 Sprint 6

    Description

      see parent epic

      Attachments

        Activity

          People

            jaked Jake Dallimore
            marina Marina Glancy
            Simey Lameze Simey Lameze
            Andrew Lyons Andrew Lyons
            Jun Pataleta Jun Pataleta
            Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5/Dec/16