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

Upgrade loglevel.js to 1.5.1 for Moodle 3.4 release

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.4
    • 3.4
    • Libraries
    • MOODLE_34_STABLE
    • MOODLE_34_STABLE
    • wip-MDL-60285-master
    • Hide

      Testing instructions stolen from MDL-56010

      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
      Testing instructions stolen from MDL-56010 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.4 Sprint 5

      loglevel.js
      /lib/amd/src/loglevel.js
      1.4.1 -> 1.5.0
      https://github.com/pimterry/loglevel

            abgreeve Adrian Greeve
            marina Marina Glancy
            David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
            David Monllaó David Monllaó
            David Monllaó David Monllaó
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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