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

Item4757: TWiki:Plugins.TopicCreatePlugin throughs error when expert setting "Warnings are Errors" is set.

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension TopicCreatePlugin Low New   n/a  

Edit Form Data

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

Detail

I'm getting the following error message when I have activated the expert setting "Warnings are Errors" in configure and trying out to create the <nop>TestTopicCreate sample of the TWiki:Plugins.TopicCreatePlugin:

="my" variable $theArgs masks earlier declaration in same scope at /home/httpd/twiki/lib/TWiki/Plugins/TopicCreatePlugin/Func.pm line 217. TWiki::UI::__ANON__('"my" variable $theArgs masks earlier declaration in same scop...') called at /home/httpd/twiki/lib/TWiki/Plugins/TopicCreatePlugin/Func.pm line 217 require TWiki/Plugins/TopicCreatePlugin/Func.pm called at /home/httpd/twiki/lib/TWiki/Plugins/TopicCreatePlugin.pm line 64 TWiki::Plugins::TopicCreatePlugin::beforeSaveHandler('%META:TOPICINFO{author="TWikiAdmin" date="1191313000" format=...', 'TestTopicCreate', 'Sandbox', 'TWiki::Meta=HASH(0x892e784)') called at /home/httpd/twiki/lib/TWiki/Plugin.pm line 264 TWiki::Plugin::invoke('TWiki::Plugin=HASH(0x88afc44)', 'beforeSaveHandler', '%META:TOPICINFO{author="TWikiAdmin" date="1191313000" format=...', 'TestTopicCreate', 'Sandbox', 'TWiki::Meta=HASH(0x892e784)') called at /home/httpd/twiki/lib/TWiki/Plugins.pm line 344 TWiki::Plugins::_dispatch('TWiki::Plugins=HASH(0x8468580)', 'beforeSaveHandler', '%META:TOPICINFO{author="TWikiAdmin" date="1191313000" format=...', 'TestTopicCreate', 'Sandbox', 'TWiki::Meta=HASH(0x892e784)') called at /home/httpd/twiki/lib/TWiki/Plugins.pm line 661 TWiki::Plugins::beforeSaveHandler('TWiki::Plugins=HASH(0x8468580)', '%META:TOPICINFO{author="TWikiAdmin" date="1191313000" format=...', 'TestTopicCreate', 'Sandbox', 'TWiki::Meta=HASH(0x892e784)') called at /home/httpd/twiki/lib/TWiki/Store.pm line 847 TWiki::Store::saveTopic('TWiki::Store=HASH(0x8163b7c)', 'TWikiAdmin', 'Sandbox', 'TestTopicCreate', '%TOPICCREATE{ template="TWiki.WikiWord" topic="%TOPIC%MyChild...', 'TWiki::Meta=HASH(0x892e784)', 'HASH(0x87d3a14)') called at /home/httpd/twiki/lib/TWiki/UI/Save.pm line 521 TWiki::UI::Save::__ANON__() called at /home/httpd/twiki/lib/CPAN/lib//Error.pm line 379 eval {...} called at /home/httpd/twiki/lib/CPAN/lib//Error.pm line 371 Error::subs::try('CODE(0x8925024)', 'HASH(0x8924ec8)') called at /home/httpd/twiki/lib/TWiki/UI/Save.pm line 530 TWiki::UI::Save::save('TWiki=HASH(0x8160628)') called at /home/httpd/twiki/lib/TWiki/UI.pm line 159 TWiki::UI::__ANON__() called at /home/httpd/twiki/lib/CPAN/lib//Error.pm line 379 eval {...} called at /home/httpd/twiki/lib/CPAN/lib//Error.pm line 371 Error::subs::try('CODE(0x814ccd8)', 'HASH(0x87cefbc)') called at /home/httpd/twiki/lib/TWiki/UI.pm line 197 TWiki::UI::run('CODE(0x82bda3c)', 'save', 1) called at /home/httpd/twiki/bin/save line 32 Compilation failed in require at /home/httpd/twiki/lib/TWiki/Plugins/TopicCreatePlugin.pm line 64. TWiki::Plugins::TopicCreatePlugin::beforeSaveHandler('%META:TOPICINFO{author="TWikiAdmin" date="1191313000" format=...', 'TestTopicCreate', 'Sandbox', 'TWiki::Meta=HASH(0x892e784)') called at /home/httpd/twiki/lib/TWiki/Plugin.pm line 264 TWiki::Plugin::invoke('TWiki::Plugin=HASH(0x88afc44)', 'beforeSaveHandler', '%META:TOPICINFO{author="TWikiAdmin" date="1191313000" format=...', 'TestTopicCreate', 'Sandbox', 'TWiki::Meta=HASH(0x892e784)') called at /home/httpd/twiki/lib/TWiki/Plugins.pm line 344 TWiki::Plugins::_dispatch('TWiki::Plugins=HASH(0x8468580)', 'beforeSaveHandler', '%META:TOPICINFO{author="TWikiAdmin" date="1191313000" format=...', 'TestTopicCreate', 'Sandbox', 'TWiki::Meta=HASH(0x892e784)') called at /home/httpd/twiki/lib/TWiki/Plugins.pm line 661 TWiki::Plugins::beforeSaveHandler('TWiki::Plugins=HASH(0x8468580)', '%META:TOPICINFO{author="TWikiAdmin" date="1191313000" format=...', 'TestTopicCreate', 'Sandbox', 'TWiki::Meta=HASH(0x892e784)') called at /home/httpd/twiki/lib/TWiki/Store.pm line 847 TWiki::Store::saveTopic('TWiki::Store=HASH(0x8163b7c)', 'TWikiAdmin', 'Sandbox', 'TestTopicCreate', '%TOPICCREATE{ template="TWiki.WikiWord" topic="%TOPIC%MyChild...', 'TWiki::Meta=HASH(0x892e784)', 'HASH(0x87d3a14)') called at /home/httpd/twiki/lib/TWiki/UI/Save.pm line 521 TWiki::UI::Save::__ANON__() called at /home/httpd/twiki/lib/CPAN/lib//Error.pm line 379 eval {...} called at /home/httpd/twiki/lib/CPAN/lib//Error.pm line 371 Error::subs::try('CODE(0x8925024)', 'HASH(0x8924ec8)') called at /home/httpd/twiki/lib/TWiki/UI/Save.pm line 530 TWiki::UI::Save::save('TWiki=HASH(0x8160628)') called at /home/httpd/twiki/lib/TWiki/UI.pm line 159 TWiki::UI::__ANON__() called at /home/httpd/twiki/lib/CPAN/lib//Error.pm line 379 eval {...} called at /home/httpd/twiki/lib/CPAN/lib//Error.pm line 371 Error::subs::try('CODE(0x814ccd8)', 'HASH(0x87cefbc)') called at /home/httpd/twiki/lib/TWiki/UI.pm line 197 TWiki::UI::run('CODE(0x82bda3c)', 'save', 1) called =

-- TWiki:Main/FranzJosefGigler - 02 Oct 2007

I'm removing my name from "waiting for" as I have no insight into the error. I guess the reason why Franz put my name there is because I posted an update to the plugin at some point. However, I was simply publishing fixes that had been noted in the dev topic and I really don't have any substantive knowledge of the plugin's code.

-- LynnwoodBrown - 25 Jun 2008

ItemTemplate
Summary TWiki:Plugins.TopicCreatePlugin throughs error when expert setting "Warnings are Errors" is set.
ReportedBy TWiki:Main.FranzJosefGigler
Codebase 4.2.0
SVN Range TWiki-4.3.0, Sun, 30 Sep 2007, build 15107
AppliesTo Extension
Component TopicCreatePlugin
Priority Low
CurrentState New
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2008-06-25 - LynnwoodBrown
 
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