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

Timeline block showing a JS error in the console

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.6.1, 3.7
    • 3.6.3
    • Blocks
    • MOODLE_36_STABLE, MOODLE_37_STABLE
    • MOODLE_36_STABLE
    • MDL-64425-master
    • Hide
      1. Open the browser console.
      2. Log in as admin
      3. Add the Timeline block to your dashboard.
      4. Make sure the following error is not displayed in the console.

        M.util.get_string: invalid value type for $a->active
        

      Show
      Open the browser console. Log in as admin Add the Timeline block to your dashboard. Make sure the following error is not displayed in the console. M.util.get_string: invalid value type for $a->active

    Description

      Just noticed this JS error in my console:

      yui_combo.php:5828 M.util.get_string: invalid value type for $a->active
      INSTANCE.log @ yui_combo.php?rollup/3.17.2/yui-moodlesimple.js:5828
      

      Debugging a bit it seems it is calling get_string function passing the third argument active as boolean.

      Attachments

        Issue Links

          Activity

            People

              lameze Simey Lameze
              lameze Simey Lameze
              Peter Dias Peter Dias
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Janelle Barcega Janelle Barcega
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/Mar/19

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 22 minutes
                  22m