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

pencil
Priority: Low
Current State: Closed
Released In:
Target Release: n/a
Applies To: Extension
Component: TopicCreatePlugin
Branches:
Reported By: TWiki:Main.FranzJosefGigler
Waiting For:
Last Change By: FranzJosefGigler
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 TopicCreatePlugin:1069d09cae3f
TargetRelease n/a
ReleasedIn
Topic revision: r5 - 29 Sep 2009, FranzJosefGigler
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