Item5949: SubscribePlugin problem in canceling subscription to single topic. Results in subscribing to all topics in web.

pencil
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: SubscribePlugin
Branches:
Reported By: TWiki:Main.LynnwoodBrown
Waiting For:
Last Change By: GeorgeClark
Test case:
  • A topic called MyTestTopic contains a simple tag.
  • A user who has no entries in that webs WebNotify topic clicks on the "Subscribe" link. This results in an entry for that user in WebNotify subscribing to MyTestTopic. So far, so good.
  • The user now clicks on the "Unsubscribe" link in the same topic. The result is that in the WebNotify topic, they user is now subscribed to all changes in that web and explicitly unsubscribed from the one topic. I.e. the WebNotify entry reads: " * UserName: * -MyTestTopic".

-- TWiki:Main/LynnwoodBrown - 21 Aug 2008

Also, the %SUBSCRIBE% still shows the Unsubscribe link.

-- TWiki:Main.RafaelAlvarez - 10 Sep 2008

BTW, the problem is in MailerContrib.

-- TWiki:Main.RafaelAlvarez - 10 Sep 2008

I can confirm that the fix that Crawford checked in fixes this. I've change the status to "Waiting for release." We just need to publish it.

-- TWiki:Main.LynnwoodBrown - 11 Sep 2008

it's back! :/

i'm closing Item1508 as it turns out to be a duplicate of this bug:

for a given web, when a user removes a topic notification, and that is the last topic listed on the user's line in WebNotify, then the user's line becomes:

UserName:

which causes the user to be notified for any/all changes for the web.

SubscribePlugin should REMOVE the line if there are no more topics to be monitored.

alternatively, redefine what UserName: (nothing) means...

-- WillNorris - 24 Apr 2009

I think that this can be closed. The big difference is the presence of the colon on the subscription line.

The first line with the colon and a trailing space is subscribed to NO topics. Testing mailnotify results in "... web has no subscribers. where as the 2nd line without the trailing space, and the 3rd line without the colon are subscribed to all topics. The SUBSCRIBE macro does properly result in the line with the colon-space - and no topics subscribed when last topic is clicked with unsubscribe.

See also Item11131 for a variation on this - where the user is subscribed via a group.

-- GeorgeClark - 19 Sep 2011

ItemTemplate edit

Summary SubscribePlugin problem in canceling subscription to single topic. Results in subscribing to all topics in web.
ReportedBy TWiki:Main.LynnwoodBrown
Codebase
SVN Range TWiki-5.0.0, Mon, 18 Aug 2008, build 17431
AppliesTo Extension
Component SubscribePlugin
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins TWikirev:17462 TWikirev:17470
TargetRelease n/a
ReleasedIn n/a
Topic revision: r8 - 19 Sep 2011, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy