• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item6168: _load on WebNotify.pm extracting TopicName Incorrectly

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension MailerContrib Normal New   major  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

When I run MailNotify, specific topic subscriptions are ignored and MailNotify prints out an asterisk for the topics and sends everything.

it seems that line 349 of lib/TWiki/Contrib/MailerContrib/WebNotify.pm:

 my $topics = $3;

should read

 my $topics = $2;

as $2, from the look of the Regular Expression, seems that the list of topics would be the second match. A quick glance at 4.2.4 shows the code handled differently:

 my $topics = $+;

Which may fix the bug, but I haven't made an effort to examine it.

-- TWiki:Main/RayWadkins - 14 Jan 2009

ItemTemplate
Summary _load on WebNotify.pm extracting TopicName Incorrectly
ReportedBy TWiki:Main.RayWadkins
Codebase 4.2.3
SVN Range

AppliesTo Extension
Component MailerContrib
Priority Normal
CurrentState New
WaitingFor

Checkins

TargetRelease major
ReleasedIn

Topic revision: r1 - 2009-01-14 - RayWadkins
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback