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

Upgrade loglevel.js to 1.8.0

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.1
    • 4.1
    • Libraries
    • MOODLE_401_STABLE
    • MOODLE_401_STABLE
    • Hide
      1. Add the test.mustache template to lib/templates/test.mustache
      2. Login as admin
      3. Ensure your browser's developer console is open
      4. Navigate to Development > Debugging in site administration
      5. Set Debug messages to Developer and save changes
      6. Navigate to Development > Template library in site administration
      7. Search for, and click on, the "core/test" template
      8. Confirm you see "Could not parse json example context for template." in the console, followed by a stacktrace
      9. Navigate to Development > Debugging in site administration
      10. Set Debug messages to None and save changes
      11. Navigate to Development > Template library in site administration
      12. Search for, and click on, the "core/test" template
      13. Confirm you don't see any logged message from the template library in the console
      Show
      Add the test.mustache template to lib/templates/test.mustache Login as admin Ensure your browser's developer console is open Navigate to Development > Debugging in site administration Set Debug messages to Developer and save changes Navigate to Development > Template library in site administration Search for, and click on, the "core/test" template Confirm you see "Could not parse json example context for template." in the console, followed by a stacktrace Navigate to Development > Debugging in site administration Set Debug messages to None and save changes Navigate to Development > Template library in site administration Search for, and click on, the "core/test" template Confirm you don't see any logged message from the template library in the console

    Description

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

      Attachments

        1. debugging_off.png
          debugging_off.png
          35 kB
        2. debugging_on.png
          debugging_on.png
          104 kB
        3. MDL-75471_test_1.png
          MDL-75471_test_1.png
          155 kB
        4. MDL-75471_test_2.png
          MDL-75471_test_2.png
          74 kB
        5. test.mustache
          0.2 kB

        Issue Links

          Activity

            People

              pholden Paul Holden
              sarjona Sara Arjona (@sarjona)
              David Woloszyn David Woloszyn
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Angelia Dela Cruz Angelia Dela Cruz
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                28/Nov/22

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 35 minutes
                  1h 35m