← Back to team overview

mahara-contributors team mailing list archive

[Bug 1813200] Re: Wall posts to other users not sending notification

 

Turns out the problem is related to the information we give to the
notification activity that happens after the new post is saved.

We accidentally supply the new wall post's id as the 'id' property in
the activity $data class and the activity class confuses that id with an
activity_type id.

So when the post id is a low number it can match with a real
activity_type id and email is sent but in one's inbox it shows the wall
post message with wrong activity type. They should all have the " icon
- the circled one in attached image.

And when a wall post id is higher than any possible activity_type id
then the 'processing...' error occurs.

We should strip out the wall post id from the object being sent to
activity class

** Attachment added: "Showing wrong icon for wallposts"
   https://bugs.launchpad.net/mahara/+bug/1813200/+attachment/5232323/+files/wall.png

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

Title:
  Wall posts to other users not sending notification

Status in Mahara:
  In Progress

Bug description:
  When user A is leaving a wall post on another user B's profile page a
  notification is sent to user B

  But after the first few messages the following bug occurs.

  When posting to the wall the button switches from "Post" to
  "processing" - but doesn't finish processing.

  On refresh of the page the new post exists.

  So there is a problem with the process updating the page without
  reload.

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


References