Item12525: reverse logic doesn't work

pencil
Priority: Urgent
Current State: Closed
Released In: 1.1.9
Target Release: patch
Applies To: Extension
Component: MailerContrib, SubscribePlugin
Branches: Release01x01 trunk
Reported By: MichaelDaum
Waiting For:
Last Change By: GeorgeClark
"Reverse logic" means:

  • first subscribe to a set of topics, e.g. using
       * %USERSWEB%.MyWikiName: *
  • then pick some topics to unsubscribe, e.g. using
       * %USERSWEB%.MyWikiName: * -SomeBogusTopic

There error is:

MailerContrib::isSubscribedTo() still lists SomeBogusTopic as being subscribed to (tested using SubscribePlugin's %SUBSCRIBE% macro).

Unsubscribing from YetAnotherBogusTopic using SubscribePlugin will result in

   * %USERSWEB%.MyWikiName: * -YetAnotherSomeBogusTopic

as a consequence, that is removing the previous unsubscription from the list.

-- MichaelDaum - 03 Jun 2013

Yup, there was a bugette. Note that this is reported against 1.1.8 but cannot occur in that codebase; it's due to an optimisation that only occurs in the 1.2.0 codebase. However I have updated the 1.1.8 codebase to match.

-- CrawfordCurrie - 27 Aug 2013

 
Topic revision: r7 - 19 Nov 2013, 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