← Back to team overview

mahara-contributors team mailing list archive

[Bug 1911358] Re: Editing Dashboard produces a console error if inbox messages present

 

** Changed in: mahara/20.04
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1911358

Title:
  Editing Dashboard produces a console error if inbox messages present

Status in Mahara:
  Fix Released
Status in Mahara 19.10 series:
  Fix Committed
Status in Mahara 20.04 series:
  Fix Released
Status in Mahara 20.10 series:
  Fix Committed
Status in Mahara 21.04 series:
  Fix Released

Bug description:
  A console error is currently being produced if the account holder has
  at least one message in their inbox and they select to edit their
  Dashboard.

  1. Log into a site on as any user with an inbox message (i.e. you can quickly receive one from another user via a Friend request)
  2. Open the Browser Console (on Firefox via "F12", Chrome on Linux via SHIFT+CNTRL+J)
  3. Navigate to the Dashboard and select 'Edit Dashboard'. Observe the console.
  Expected results:
  The console is free of any errors.
  Actual results:
  The following error is produced:
  Uncaught TypeError: dock.init is not a function
      <anonymous> http://mahara/view/blocks.php?id=6:130
      jQuery 7
      <anonymous> http://mahara/view/blocks.php?id=6 line 2 > injectedScript:2
      jQuery 3
      addWidget http://mahara/js/gridstack/gridstack.js?v=2197:1371
      addNewWidget http://mahara/js/gridlayout.js?v=2197:265
      loadGrid http://mahara/js/gridlayout.js?v=2197:81
      each jQuery
      loadGrid http://mahara/js/gridlayout.js?v=2197:60
      <anonymous> http://mahara/view/blocks.php?id=6:114
      jQuery 13

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1911358/+subscriptions


References