Tags:
create new tag
, view all tags

Bug: in-topic search gives 'Can't use string ("1094792411") as an ARRAY ref while "strict refs" in use' error

Error:

Can't use string ("1094792411") as an ARRAY ref while "strict refs" in use at /usr/local/sites/yukongis.ca/www/htdocs/dev/lib/Error.pm line 278
   Error::subs::run_clauses('HASH(0x86b09b8)','Can\'t use string ("1094792411") as an ARRAY ref while "stric...','undef','ARRAY(0x80e3e74)') called at /usr/local/sites/yukongis.ca/www/htdocs/dev/lib/Error.pm line 395
   Error::subs::try('CODE(0x86b0048)','HASH(0x86b09b8)') called at /usr/local/sites/yukongis.ca/www/htdocs/dev/lib/TWiki/UI.pm line 140
   TWiki::UI::run('TWiki::UI::View','view') called at view line 36

Test case

%SEARCH{ ".*" regex="on" nosearch="on" nototal="on" order="modified" reverse="on" limit="7" format="<dt>[[$topic]] <dd>$summary <br /><span class='deem'><i>$date</i></span><dd>&nbsp;" excludetopic="FrontPage, WebStatistics, *Preferences, WebNotify, NewUserTemplate, *LeftBar"}%

broken http://yukongis.ca/bin/dev-bin/view/Main/FrontPage $Date: 2005/06/21 17:30:32 $ $Rev: 3476 $
works http://yukongis.ca/bin/view/Main/FrontPage 01 Sep 2004 $Rev: 1742 $
shared data and pub directories, seperate lib and bin

Environment

TWiki version: TWikiAlphaRelease
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: linux
Web server: Apache/2.0.52
Perl version: 5.8.3

-- MattWilkie - 14 Jan 2005

Follow up

From the report this bug is against the DEVELOP branch. In which case I can't reproduce it from the information given; see http://develop.twiki.org/~develop/cgi-bin/view/Sandbox/SearchCantUseStringError

Please try running with the parameter ?compile_debug=1 in the URL.

-- CrawfordCurrie - 14 Jan 2005

I've just commited http://develop.twiki.org/~develop/cgi-bin/view/TestCases/TestCaseAutoWebRssSearchMinimal - this shows the problem on my system.... I can't get to ntwiki yet, so I can't confirm it

-- SvenDowideit - 14 Jan 2005

Fix record

Fixed in rev 3489. I had changed the way one of those horrendous map statements worked without (I now reaise) fully understanding it.

-- CrawfordCurrie - 14 Jan 2005

Topic revision: r5 - 2005-06-21 - SvenDowideit
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.