• 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.

Item6474: mailnotify fails due to non-existing _alert method

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension MailerContrib Urgent Closed   patch 5.0.0

Edit Form Data

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

Detail

TWiki mailnotify fails with this message:

Can't locate object method "_alert" via package "TWiki::Contrib::MailerContrib::WebNotify" at /var/www/twiki/lib/TWiki/Contrib/MailerContrib/WebNotify.pm line 412.

This is on 5.0.0-rc3

Relevant code:

sub _subscribeTopic {
    my ( $this, $who, $unsubscribe, $webTopic, $options, $childDepth ) = @_;

    my ($web, $topic) = TWiki::Func::normalizeWebTopicName($this->{web}, $webTopic);
    $this->_alert('warning: ignoring web prefix on '.$webTopic) if ($web ne $this->{web});

Fix: Remove _alert, it is OK to silently ignore that subscribe issue.

-- TWiki:Main/PeterThoeny - 26 May 2010

ItemTemplate
Summary mailnotify fails due to non-existing _alert method
ReportedBy TWiki:Main.PeterThoeny
Codebase ~twiki4
SVN Range TWiki-5.0.0-rc3, Fri, 21 May 2010, build 18750
AppliesTo Extension
Component MailerContrib
Priority Urgent
CurrentState Closed
WaitingFor

Checkins TWikirev:18799
TargetRelease patch
ReleasedIn 5.0.0
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r3 - 2010-05-31 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback