Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-42488

Forums: Mark all as read displays console errors for Uncaught TypeError

    XMLWordPrintable

    Details

    • Test Plan:
      Hide

      With the browser console open:

      1. Create a new forum and topic
      2. Have a couple of users post - want to make sure there are unread posts
      3. Click on the topic -> Display Message Content
      4. Then click Mark All as Read

      Look in the browser console and verify there are no errors

      Show
      With the browser console open: Create a new forum and topic Have a couple of users post - want to make sure there are unread posts Click on the topic -> Display Message Content Then click Mark All as Read Look in the browser console and verify there are no errors

      Description

      When the user clicks to "Display Message Content" and then "Mark All as Read", the following error is displayed in the browser console. This does not seem to affect functionality so far that I can tell.

      Chrome:

      VM1832 forum.js:350 Uncaught TypeError: Cannot read property 'top' of undefined
      at HTMLAnchorElement.<anonymous> (VM1832 forum.js:350)
      at HTMLAnchorElement.dispatch (VM1827 jquery.min.js:3)
      at HTMLAnchorElement.r.handle (VM1827 jquery.min.js:3)
      (anonymous) @ VM1832 forum.js:350
      dispatch @ VM1827 jquery.min.js:3
      r.handle @ VM1827 jquery.min.js:3

      Firefox:

      TypeError: targetPos is undefined forum.js:350:21
      setupMessageNav forum.js:350
      jQuery 2
      dispatch
      handle

       

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  chmaurer@iupui.edu Chris Maurer
                  Reporter:
                  agschmidt Andrea Schmidt
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:

                    Git Source Code