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

Upgrade loglevel.js to 1.8.0

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major Major
    • 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

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

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

            pholden Paul Holden
            sarjona Sara Arjona (@sarjona)
            David Woloszyn David Woloszyn
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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