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

Timeline block showing a JS error in the console

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.6.1, 3.7
    • Fix Version/s: 3.6.3
    • Component/s: Blocks
    • Labels:
    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_36_STABLE, MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-64425-master

      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

              Assignee:
              lameze Simey Lameze
              Reporter:
              lameze Simey Lameze
              Peer reviewer:
              Peter Dias
              Integrator:
              Sara Arjona (@sarjona)
              Tester:
              Janelle Barcega
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Mar/19

                  Time Tracking

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