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

Item5792: Search generates warnings in log about Use of uninitialized value in substitution

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Closed   patch 4.2.1

Edit Form Data

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

Detail

Here's what I get currently:
<?xml version="1.0" encoding="iso-8859-1" ?><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wiki="http://purl.org/rss/1.0/modules/wiki/" ><channel rdf:about="http://develop.twiki.org/~twiki4/cgi-bin/view/Bugs">&lt;span class="WYSIWYG_PROTECTED"&gt;TWiki&lt;/span&gt;'s &lt;span class="WYSIWYG_PROTECTED"&gt;&lt;nop&gt;&lt;/span&gt;&lt;span class="WYSIWYG_PROTECTED"&gt;Bugs&lt;/span&gt; web <link>http://develop.twiki.org/~twiki4/cgi-bin/view/Bugs</link> <description>The Bugs web of TWiki. TWiki is a Web-Based Collaboration Platform for the Corporate World.</description> en-us Copyright 2008 by contributing authors TWiki Administrator [sven@home.org.au] TWiki Administrator [sven@home.org.au] TWiki <items> 
      <rdf:li rdf:resource="http://develop.twiki.org/~twiki4/cgi-bin/view/Bugs/Item5780" />
      <rdf:li rdf:resource="http://develop.twiki.org/~twiki4/cgi-bin/view/Bugs/Item5382" />
      <rdf:li rdf:resource="http://develop.twiki.org/~twiki4/cgi-bin/view/Bugs/Item5562" />
      <rdf:li rdf:resource="http://develop.twiki.org/~twiki4/cgi-bin/view/Bugs/Item5791" />
      <rdf:li rdf:resource="http://develop.twiki.org/~twiki4/cgi-bin/view/Bugs/Item5790" />
      <rdf:li rdf:resource="http://develop.twiki.org/~twiki4/cgi-bin/view/Bugs/Item5789" />
      <rdf:li rdf:resource="http://develop.twiki.org/~twiki4/cgi-bin/view/Bugs/Item5662" />
      <rdf:li rdf:resource="http://develop.twiki.org/~twiki4/cgi-bin/view/Bugs/Item5788" />
      <rdf:li rdf:resource="http://develop.twiki.org/~twiki4/cgi-bin/view/Bugs/Item5785" />
      <rdf:li rdf:resource="http://develop.twiki.org/~twiki4/cgi-bin/view/Bugs/Item5727" />
      <rdf:li rdf:resource="http://develop.twiki.org/~twiki4/cgi-bin/view/Bugs/Item5787" />
      <rdf:li rdf:resource="http://develop.twiki.org/~twiki4/cgi-bin/view/Bugs/Item5786" />
      <rdf:li rdf:resource="http://develop.twiki.org/~twiki4/cgi-bin/view/Bugs/Item5782" />
      <rdf:li rdf:resource="http://develop.twiki.org/~twiki4/cgi-bin/view/Bugs/Item5784" />
      <rdf:li rdf:resource="http://develop.twiki.org/~twiki4/cgi-bin/view/Bugs/Item5783" />
      <rdf:li rdf:resource="http://develop.twiki.org/~twiki4/cgi-bin/view/Bugs/Item5781" /> </items> </channel> <image rdf:about="http://develop.twiki.org/~twiki4/pub/TWiki/TWikiLogos/T-logo-140x40-t.gif">&lt;span class="WYSIWYG_PROTECTED"&gt;Powered by TWiki&lt;/span&gt;.&lt;span class="WYSIWYG_PROTECTED"&gt;Bugs&lt;/span&gt; <link>http://develop.twiki.org/~twiki4/cgi-bin/view/Bugs</link> <url>http://develop.twiki.org/~twiki4/pub/TWiki/TWikiLogos/T-logo-140x40-t.gif</url> </image> 
<p />
<p />
<p />
<span class='twikiAlert'>
         Could not perform search. Error was: Use of uninitialized value in substitution iterator at /home/twiki4/twikisvn/core/lib/TWiki/Search.pm line 823.
 at /home/twiki4/twikisvn/core/lib/TWiki/UI.pm line 84
   TWiki::UI::__ANON__('Use of uninitialized value in substitution iterator at /home/...') called at /home/twiki4/twikisvn/core/lib/TWiki/Search.pm line 823
   TWiki::Search::searchWeb('TWiki::Search=HASH(0x9c7ca6c)', 'search', '.*', 'basetopic', 'WebRss', '_RAW', '".*" web="Bugs" excludetopic="WebStatistics" regex="on" nosea...', 'web', 'Bugs', ...) called at /home/twiki4/twikisvn/core/lib/TWiki.pm line 3418
   TWiki::__ANON__() called at /home/twiki4/twikisvn/core/lib/CPAN/lib//Error.pm line 379
   eval {...} called at /home/twiki4/twikisvn/core/lib/CPAN/lib//Error.pm line 371
   Error::subs::try('CODE(0x9c80f4c)', 'HASH(0x9c7f080)') called at /home/twiki4/twikisvn/core/lib/TWiki.pm line 3425
   TWiki::SEARCH('TWiki=HASH(0x92aa420)', 'TWiki::Attrs=HASH(0x9c80fc4)', 'WebRss', 'Bugs', 'TWiki::Meta=HASH(0x9aa5b90)') called at /home/twiki4/twikisvn/core/lib/TWiki.pm line 2674
   TWiki::_expandTagOnTopicRendering('TWiki=HASH(0x92aa420)', 'SEARCH', '".*" web="Bugs" excludetopic="WebStatistics" regex="on" nosea...', 'WebRss', 'Bugs', 'TWiki::Meta=HASH(0x9aa5b90)') called at /home/twiki4/twikisvn/core/lib/TWiki.pm line 2595
   TWiki::_processTags('TWiki=HASH(0x92aa420)', '<channel rdf:about="%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%">&amp;lt...', 'CODE(0x93bca70)', 16, 'WebRss', 'Bugs', 'TWiki::Meta=HASH(0x9aa5b90)') called at /home/twiki4/twikisvn/core/lib/TWiki.pm line 2519
   TWiki::expandAllTags('TWiki=HASH(0x92aa420)', 'SCALAR(0x93c30cc)', 'WebRss', 'Bugs', 'TWiki::Meta=HASH(0x9aa5b90)') called at /home/twiki4/twikisvn/core/lib/TWiki.pm line 2850
   TWiki::handleCommonTags('TWiki=HASH(0x92aa420)', '<channel rdf:about="%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%">&amp;lt...', 'Bugs', 'WebRss', 'TWiki::Meta=HASH(0x9aa5b90)') called at /home/twiki4/twikisvn/core/lib/TWiki/UI/View.pm line 392
   TWiki::UI::View::_prepare('<channel rdf:about="%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%">&amp;lt...', 'TWiki=HASH(0x92aa420)', 'Bugs', 'WebRss', 'TWiki::Meta=HASH(0x9aa5b90)', 1) called at /home/twiki4/twikisvn/core/lib/TWiki/UI/View.pm line 373
   TWiki::UI::View::view('TWiki=HASH(0x92aa420)') called at /home/twiki4/twikisvn/core/lib/TWiki/UI.pm line 159
   TWiki::UI::__ANON__() called at /home/twiki4/twikisvn/core/lib/CPAN/lib//Error.pm line 379
   eval {...} called at /home/twiki4/twikisvn/core/lib/CPAN/lib//Error.pm line 371
   Error::subs::try('CODE(0x9137de8)', 'HASH(0x9aa5a10)') called at /home/twiki4/twikisvn/core/lib/TWiki/UI.pm line 197
   TWiki::UI::run('CODE(0x92a5718)', 'view', 1) called
<p />
</span><!-- <ul>
<li> Set SKIN = rss
</li></ul> 
-->
</rdf:RDF>

Firstly, it obviously fails due to an error in Search.pm, line 823. Furthermore, there are lots of

&lt;span class="WYSIWYG_PROTECTED"&gt;TWiki&lt;/span&gt; 
in the code. You only see that in raw mode (why?). Probably a WYSIWYG session destroyed it.

Anyway, I flag this urgent, as nothing should down the engine like this.

-- TWiki:Main/MichaelDaum - 18 Jul 2008

TWiki:Codev.GeorgetownReleaseMeeting2008x07x21 decided to downgrade this to Normal.

Note that Bugs barfs because it is setup for Warnings are Errors.

-- TWiki:Main.KennethLavrsen - 22 Jul 2008

I decided to check this out and it is worth fixing. Which I did.

Changing the title to the real bug. Closing as bug was introduced recently and not in 4.2.0

-- TWiki:Main.KennethLavrsen - 22 Jul 2008

Cleaned "WaitingFor" field.

-- TWiki:Main.GilmarSantosJr - 10 Aug 2008

ItemTemplate
Summary Search generates warnings in log about Use of uninitialized value in substitution
ReportedBy TWiki:Main.MichaelDaum
Codebase 4.2.1, ~twiki4
SVN Range TWiki-5.0.0, Thu, 17 Jul 2008, build 17046
AppliesTo Engine
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:17111 TWikirev:17112
TargetRelease patch
ReleasedIn 4.2.1
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2008-08-10 - GilmarSantosJr
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback