I have basic mutual relationship between Authenticated User(uid = 22) and Administrator (uid=1).

In site.com/user/22/relationships
Clicking on 'Remove' operation on relationship redirects to
site.com/user/22/relationships/26/remove?destination=user/22/relationships
which generates Page not found.

Also the same 404 effect is in
site.com/relationships
Remove redirects to
site.com/relationships/26/remove?destination=relationships

I have created another issue, which can be related to this one. #1325918: Strange relationships list

CommentFileSizeAuthor
#1 1325908.patch515 bytesjherencia
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jherencia’s picture

Version: 7.x-1.0-alpha3 » 7.x-1.x-dev
Status: Active » Needs review
FileSize
515 bytes

It happens too with D6 version, as explained here: #913510: Unable to remove friends.

This patch fixes implements the aproach provided by @travist in that issue.

netourish’s picture

Thanks jherencia and Toktik, It worked.

ali1987’s picture

Hi,

I'm new to drupal and don't know programming. can u please
explain the hack (How to modify user_relationships.module directly).
I'm using godaddy shared hosting and can't apply the patch.

Thanks

jherencia’s picture

@ali1987 You could edit the file manually and apply the patch, see http://drupal.org/node/534548. Afterwords just upload the changes via FTP.

ali1987’s picture

Thanks jherencia

Berdir’s picture

Status: Needs review » Fixed

Commited, thanks for the patch.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

fix