NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item11383 for general documentation changes for release 1.1.5. Use Item9693 for docu changes for release 2.0.

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

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Low Closed Extension TopicCreatePlugin  
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

Fixed.

-- AndrewJones - 29 Sep 2009

Thanks Andrew!

-- FranzJosefGigler - 29 Sep 2009

ItemTemplate edit

Summary TWiki:Plugins.TopicCreatePlugin throughs error when expert setting "Warnings are Errors" is set.
ReportedBy TWiki:Main.FranzJosefGigler
Codebase
SVN Range TWiki-4.3.0, Sun, 30 Sep 2007, build 15107
AppliesTo Extension
Component TopicCreatePlugin
Priority Low
CurrentState Closed
WaitingFor
Checkins Foswikirev:5168
TargetRelease n/a
ReleasedIn
Topic revision: r5 - 29 Sep 2009 - 10:53:53 - FranzJosefGigler
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads