Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 306597 - net-im/ejabberd-2.0.5-r3 does not resend subscription messages
Summary: net-im/ejabberd-2.0.5-r3 does not resend subscription messages
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Net-im project
URL: http://lists.jabber.ru/pipermail/ejab...
Whiteboard:
Keywords:
Depends on: 281366
Blocks:
  Show dependency tree
 
Reported: 2010-02-24 03:18 UTC by Livid
Modified: 2010-06-21 08:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch fixing the problem described (ejabberd-2.0.5-subscription.patch,1.18 KB, patch)
2010-02-24 03:29 UTC, Livid
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Livid 2010-02-24 03:18:34 UTC
Scenario:
 UserA "removes authorization from" UserB
 Assumptions (irrevelant, for the sake of clarity only):
   both users are using Psi v0.13
   both users have enabled the "auto-authorize contacts" option
   both users are online
Symptoms:
 * UserA sees "subscription: to" for UserB, and is still able to see UserB's status in roster
 * UserB sees "Subscription: from" for UserA, and is not able to see UserA's status in roster
 * UserA can fix the problem by removing UserB from roster and adding UserB back again
 * UserB can't fix the problem by "resending authorization to" UserA (expected)
 * UserB can fix the problem by "rerequesting authorization from" UserA (expected)
 * UserA can't fix the problem by "rerequesting authorization from" UserB (expected)
 * UserA can't fix the problem by "resending authorization to" UserB (unexpected)

for more information see http://lists.jabber.ru/pipermail/ejabberd/2009-November/005479.html

Reproducible: Always

Steps to Reproduce:
1. Remove subscription from any given user in you roster. That user will not be able to see your status anymore.
2. Try to add subscription back

Actual Results:  
Adding subscription back has no effect whatsoever.

Expected Results:  
Subscription should be restored, and status should be visible again.

I'll attach a patch suggested in the link mentioned above. I'm not related to ejabberd development though so I can not foresee any side effects from that patch.
Comment 1 Livid 2010-02-24 03:29:21 UTC
Created attachment 220917 [details, diff]
Patch fixing the problem described
Comment 2 Anton Podavalov 2010-02-27 06:22:50 UTC
Patch applied against mainline ejabberd tree:
See https://git.process-one.net/ejabberd/mainline/commit/c9463e330883566b1d5e3258a1aed37290e17988 for details.
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2010-05-26 20:06:52 UTC
Thank you for report. This will be fixed in 2.1.3 which is available for testing now. But, please, backup before testing it... I'll close bug once it goes ~arch.
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2010-06-21 08:01:50 UTC
Fixed in 2.1.4.