You are here: Foswiki>Tasks Web>Item10941 (10 Mar 2012, PaulHarvey)Edit Attach

Item10941: "Use of uninitialized" warnings during rename

pencil
Priority: Urgent
Current State: No Action Required
Released In: n/a
Target Release: minor
Applies To: Engine
Component: FoswikiUIRename
Branches:
Reported By: PaulHarvey
Waiting For: Main.PaulHarvey
Last Change By: PaulHarvey
Performing delete in tasks web
Use of uninitialized value $1 in concatenation (.) or string at /usr/home/trunk.foswiki.org/core/lib/Foswiki/UI/Rename.pm line 897.
 at /usr/local/lib/perl5/5.10.1/CGI/Carp.pm line 356
   CGI::Carp::realdie('Use of uninitialized value $1 in concatenation (.) or string ...') called at /usr/local/lib/perl5/5.10.1/CGI/Carp.pm line 437
   CGI::Carp::die('Use of uninitialized value $1 in concatenation (.) or string ...') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki.pm line 149
   Foswiki::__ANON__('Use of uninitialized value $1 in concatenation (.) or string ...') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/UI/Rename.pm line 897
   Foswiki::UI::Rename::_replaceTopicReferences('%INCLUDE{Tasks.Component}%', 'HASH(0x10e5638)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/UI/Rename.pm line 1058
   Foswiki::UI::Rename::_replaceInternalRefs('%INCLUDE{"Component"}%', 'HASH(0x10e5638)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/Render.pm line 1762
   Foswiki::Render::forEachLine('Foswiki::Render=HASH(0x9d1b68)', '%INCLUDE{"Component"}%\x{a}', 'CODE(0xa3f3a8)', 'HASH(0x10e5638)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/UI/Rename.pm line 995
   Foswiki::UI::Rename::_replaceWebInternalReferences('Foswiki=HASH(0x9db1e8)', 'Foswiki::Meta=HASH(0xd74d78)', 'Foswiki::Meta=HASH(0xd74dc0)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/UI/Rename.pm line 788
   Foswiki::UI::Rename::_moveTopicOrAttachment('Foswiki=HASH(0x9db1e8)', 'Foswiki::Meta=HASH(0xd74d78)', 'Foswiki::Meta=HASH(0xd74dc0)', undef, undef, 'ARRAY(0xa49b00)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/UI/Rename.pm line 269
   Foswiki::UI::Rename::_renameTopicOrAttachment('Foswiki=HASH(0x9db1e8)', 'Tasks', 'LatexPlugin') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/UI/Rename.pm line 67
   Foswiki::UI::Rename::rename('Foswiki=HASH(0x9db1e8)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/UI.pm line 316
   Foswiki::UI::__ANON__() called at /usr/local/lib/perl5/site_perl/5.10.1/Error.pm line 415
   eval {...} called at /usr/local/lib/perl5/site_perl/5.10.1/Error.pm line 407
   Error::subs::try('CODE(0x603c88)', 'HASH(0xa4f570)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/UI.pm line 435
   Foswiki::UI::_execute('Foswiki::Request=HASH(0x977f08)', 'CODE(0x732030)', 'rename', 1) called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/UI.pm line 274
   Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x977f08)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/Engine/CGI.pm line 37
   Foswiki::Engine::CGI::run('Foswiki::Engine::CGI=HASH(0x77cae8)') called at /home/trunk.foswiki.org/core/bin/rename line 29.

-- PaulHarvey - 05 Jul 2011

"Only search in current web" was selected

-- PaulHarvey - 05 Jul 2011

Again, "only search in current web", again, deleting something (Tasks.Item10952) -
Use of uninitialized value $1 in concatenation (.) or string at /usr/home/trunk.foswiki.org/core/lib/Foswiki/UI/Rename.pm line 897.
 at /usr/local/lib/perl5/5.10.1/CGI/Carp.pm line 356
   CGI::Carp::realdie('Use of uninitialized value $1 in concatenation (.) or string ...') called at /usr/local/lib/perl5/5.10.1/CGI/Carp.pm line 437
   CGI::Carp::die('Use of uninitialized value $1 in concatenation (.) or string ...') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki.pm line 149
   Foswiki::__ANON__('Use of uninitialized value $1 in concatenation (.) or string ...') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/UI/Rename.pm line 897
   Foswiki::UI::Rename::_replaceTopicReferences('Tasks.Component', 'HASH(0x10f3fc8)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/UI/Rename.pm line 1058
   Foswiki::UI::Rename::_replaceInternalRefs('Component', 'HASH(0x10f3fc8)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/Meta.pm line 1662
   Foswiki::Meta::forEachSelectedValue('Foswiki::Meta=HASH(0xd28898)', '^(FIELD|TOPICPARENT)$', undef, 'CODE(0xa3ecb0)', 'HASH(0x10f3fc8)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/UI/Rename.pm line 999
   Foswiki::UI::Rename::_replaceWebInternalReferences('Foswiki=HASH(0x9dbaf0)', 'Foswiki::Meta=HASH(0xd78758)', 'Foswiki::Meta=HASH(0xd28898)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/UI/Rename.pm line 788
   Foswiki::UI::Rename::_moveTopicOrAttachment('Foswiki=HASH(0x9dbaf0)', 'Foswiki::Meta=HASH(0xd78758)', 'Foswiki::Meta=HASH(0xd28898)', undef, undef, 'ARRAY(0xa48408)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/UI/Rename.pm line 269
   Foswiki::UI::Rename::_renameTopicOrAttachment('Foswiki=HASH(0x9dbaf0)', 'Tasks', 'Item10952') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/UI/Rename.pm line 67
   Foswiki::UI::Rename::rename('Foswiki=HASH(0x9dbaf0)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/UI.pm line 316
   Foswiki::UI::__ANON__() called at /usr/local/lib/perl5/site_perl/5.10.1/Error.pm line 415
   eval {...} called at /usr/local/lib/perl5/site_perl/5.10.1/Error.pm line 407
   Error::subs::try('CODE(0x603c88)', 'HASH(0xa4ee78)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/UI.pm line 435
   Foswiki::UI::_execute('Foswiki::Request=HASH(0x977720)', 'CODE(0x732848)', 'rename', 1) called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/UI.pm line 274
   Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x977720)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/Engine/CGI.pm line 37
   Foswiki::Engine::CGI::run('Foswiki::Engine::CGI=HASH(0x77cb00)') called at /home/trunk.foswiki.org/core/bin/rename line 29.

-- PaulHarvey - 07 Jul 2011

Trying to delete Support.Faq58_1
Use of uninitialized value $1 in concatenation (.) or string at /usr/home/trunk.foswiki.org/core/lib/Foswiki/UI/Rename.pm line 897.
 at /usr/local/lib/perl5/5.10.1/CGI/Carp.pm line 356
   CGI::Carp::realdie('Use of uninitialized value $1 in concatenation (.) or string ...') called at /usr/local/lib/perl5/5.10.1/CGI/Carp.pm line 437
   CGI::Carp::die('Use of uninitialized value $1 in concatenation (.) or string ...') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki.pm line 149
   Foswiki::__ANON__('Use of uninitialized value $1 in concatenation (.) or string ...') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/UI/Rename.pm line 897
   Foswiki::UI::Rename::_replaceTopicReferences('Support.Faq58', 'HASH(0xe848e0)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/UI/Rename.pm line 1058
   Foswiki::UI::Rename::_replaceInternalRefs('Faq58', 'HASH(0xe848e0)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/Meta.pm line 1665
   Foswiki::Meta::forEachSelectedValue('Foswiki::Meta=HASH(0xd7c970)', '^(FIELD|TOPICPARENT)$', undef, 'CODE(0xa406d8)', 'HASH(0xe848e0)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/UI/Rename.pm line 999
   Foswiki::UI::Rename::_replaceWebInternalReferences('Foswiki=HASH(0x9dd518)', 'Foswiki::Meta=HASH(0xd7ae80)', 'Foswiki::Meta=HASH(0xd7c970)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/UI/Rename.pm line 788
   Foswiki::UI::Rename::_moveTopicOrAttachment('Foswiki=HASH(0x9dd518)', 'Foswiki::Meta=HASH(0xd7ae80)', 'Foswiki::Meta=HASH(0xd7c970)', undef, undef, 'ARRAY(0xa49630)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/UI/Rename.pm line 269
   Foswiki::UI::Rename::_renameTopicOrAttachment('Foswiki=HASH(0x9dd518)', 'Support', 'Faq58_1') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/UI/Rename.pm line 67
   Foswiki::UI::Rename::rename('Foswiki=HASH(0x9dd518)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/UI.pm line 316
   Foswiki::UI::__ANON__() called at /usr/local/lib/perl5/site_perl/5.10.1/Error.pm line 415
   eval {...} called at /usr/local/lib/perl5/site_perl/5.10.1/Error.pm line 407
   Error::subs::try('CODE(0x603c88)', 'HASH(0x9dd0c8)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/UI.pm line 435
   Foswiki::UI::_execute('Foswiki::Request=HASH(0x984170)', 'CODE(0x732078)', 'rename', 1) called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/UI.pm line 274
   Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x984170)') called at /usr/home/trunk.foswiki.org/core/lib/Foswiki/Engine/CGI.pm line 37
   Foswiki::Engine::CGI::run('Foswiki::Engine::CGI=HASH(0x77cb48)') called at /home/trunk.foswiki.org/core/bin/rename line 29.

-- PaulHarvey - 18 Aug 2011

I can't reproduce this, either on t.f.o, local trunk, f.o or Release01x01.

Can you? If so, how?

-- CrawfordCurrie - 09 Mar 2012

Must've been a transient thing. Can't reproduce now. Closing.

-- PaulHarvey - 10 Mar 2012
 

ItemTemplate edit

Summary "Use of uninitialized" warnings during rename
ReportedBy PaulHarvey
Codebase trunk
SVN Range
AppliesTo Engine
Component FoswikiUIRename
Priority Urgent
CurrentState No Action Required
WaitingFor PaulHarvey
Checkins
TargetRelease minor
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
Release01x01Checkins
Topic revision: r5 - 10 Mar 2012, PaulHarvey
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