Public bug reported:

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

** Affects: mahara
     Importance: Undecided
     Assignee: Lisa Seeto (lisaseeto)
         Status: In Progress

** Changed in: mahara
     Assignee: (unassigned) => Lisa Seeto (lisaseeto)

** Changed in: mahara
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1911358

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

Status in Mahara:
  In Progress

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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to