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

Upgrade loglevel.js to 1.6.6

XMLWordPrintable

    • MOODLE_38_STABLE
    • MOODLE_39_STABLE
    • MDL-67376-master
    • Hide
      • 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 Site admin -> Development -> Debugging -> Debug messages to 'Developer'.
        Note: You can instead run mdk run mindev if you use mdk
      • Open the developer tools in your browser (Hit F12, or right click => inspect element)
      • View the "Console"
      • Go to Site admin -> Development -> Template Library admin tool
      • Search for the "test" template
      • Select the template
        1. Confirm that you see "{{Could not parse json example context for template.{{" with a stack trace etc.
      • Set Site admin -> Development -> Debugging -> Debug messages to 'None'.
        Note: You can instead run mdk run undev if you use mdk
      • Go to Site admin -> Development -> Template Library admin tool
      • Search for the "test" template
      • Select the template
        1. Confirm that you do not see any new error messages in the Developer tools console
      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 Site admin -> Development -> Debugging -> Debug messages to ' Developer '. Note: You can instead run mdk run mindev if you use mdk Open the developer tools in your browser (Hit F12, or right click => inspect element) View the "Console" Go to Site admin -> Development -> Template Library admin tool Search for the " test " template Select the template Confirm that you see "{{Could not parse json example context for template.{{" with a stack trace etc. Set Site admin -> Development -> Debugging -> Debug messages to ' None '. Note: You can instead run mdk run undev if you use mdk Go to Site admin -> Development -> Template Library admin tool Search for the " test " template Select the template Confirm that you do not see any new error messages in the Developer tools console
    • 1
    • Internationals - 3.9 Sprint 1

      loglevel.js (/lib/amd/src/loglevel.js) 1.6.2 --> 1.6.6: https://github.com/pimterry/loglevel 
       

            rezaie9 Shamim Rezaie
            sarjona Sara Arjona (@sarjona)
            Simey Lameze Simey Lameze
            Andrew Lyons Andrew Lyons
            Janelle Barcega Janelle Barcega
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 40 minutes
                2h 40m

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