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

Upgrade loglevel.js to latest version

    XMLWordPrintable

    Details

    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Epic Link:
    • Pull from Repository:
    • Pull Master Branch:
      MDL-67376-master
    • Story Points:
      1
    • Sprint:
      Internationals - 3.9 Sprint 1

      Description

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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rezaie9 Shamim Rezaie
              Reporter:
              sarjona Sara Arjona (@sarjona)
              Peer reviewer:
              Simey Lameze
              Integrator:
              Andrew Nicols
              Tester:
              Janelle Barcega
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/Jun/20

                  Time Tracking

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