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

Upgrade loglevel.js to 1.4.1 for Moodle 3.2 release

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2
    • Component/s: JavaScript, Libraries
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Epic Link:
    • Pull from Repository:
    • Pull Master Branch:
      MDL-56010-master
    • Sprint:
      3.2 Sprint 6

      Description

      see parent epic

        Attachments

          Activity

            People

            Assignee:
            jaked Jake Dallimore
            Reporter:
            marina Marina Glancy
            Peer reviewer:
            Simey Lameze
            Integrator:
            Andrew Nicols
            Tester:
            Jun Pataleta
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              5/Dec/16