← Back to team overview

mahara-contributors team mailing list archive

[Bug 1535164] A change has been merged

 

Reviewed:  https://reviews.mahara.org/7241
Committed: https://git.mahara.org/mahara/mahara/commit/c55a95581741d332089f6042cf8fbd879db3e2c4
Submitter: Ghada El-Zoghbi (ghada@xxxxxxxxxxxxxxx)
Branch:    master

commit c55a95581741d332089f6042cf8fbd879db3e2c4
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Wed Nov 9 16:23:21 2016 +1300

Bug 1535164: Inbox needs to update unread messages

This bug came about due to the lazy load of the inbox block so that
the js hooks were not wired up correctly.

Added a pageupdated trigger to the block content and updated the
template so that we can update a row without needing the check box
(like we have in the inbox page itself)

behatnotneeded

Change-Id: I60de8301b2bb7ec5ef4ed33f1260cccdbdce36aa
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

-- 
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/1535164

Title:
  Read messages are not getting set to read

Status in Mahara:
  In Progress

Bug description:
  Mahara: 15.10.1
  DB: MySql
  OS: Linux
  Browser: Chrome and FF

  Since the 15.10 upgrade, the 'read' message counter is not working
  properly.

  It doesn't appear that the triggers are updating the usr.read field.

  * I've tried with both multi recipient module on and off.

  * I manually reset all usr.read = 0 in the DB (just to start with a
  clean slate)

  * sent messages to a different user

  * logged in as the other user and their counter hadn't increased.

  I then went into the user's inbox and clicked on the message (i.e. to
  read it), the usr.read field never got updated. Neither did the
  module_multirecipient_userrelation.read get updated (or
  notification_internal_activity.read when mutil-recipient is off).

  Using Chrome's developer tools, I can see that there is no network activity to the server to update the field as read:
  * either when I click on the message
  * or when I select 'Mark as read' from the bulk action with the message selected.

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


References