← Back to team overview

mahara-contributors team mailing list archive

[Bug 861985] [NEW] Friendship acceptance from find friends is fragile

 

Public bug reported:

On the 2nd and later pages of find friends, accepting a friend request
appears to submit without errors, but actually fails to add the user as
a friend.

Submitting a friendship acceptance form can also fail in a similar
manner when friendship has been accepted or denied in another browser
window since the page was loaded.

If the database somehow ends up in a state where both a friend record
and a friend request record exist for a pair of users, accepting friend
requests fails with an sql error.

** Affects: mahara
     Importance: Low
     Assignee: Richard Mansfield (richard-mansfield)
         Status: In Progress

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

** Changed in: mahara
   Importance: Undecided => Low

** Changed in: mahara
     Assignee: (unassigned) => Richard Mansfield (richard-mansfield)

** Changed in: mahara
    Milestone: None => 1.5.0

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

Title:
  Friendship acceptance from find friends is fragile

Status in Mahara ePortfolio:
  In Progress

Bug description:
  On the 2nd and later pages of find friends, accepting a friend request
  appears to submit without errors, but actually fails to add the user
  as a friend.

  Submitting a friendship acceptance form can also fail in a similar
  manner when friendship has been accepted or denied in another browser
  window since the page was loaded.

  If the database somehow ends up in a state where both a friend record
  and a friend request record exist for a pair of users, accepting
  friend requests fails with an sql error.

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


Follow ups

References