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> " excludetopic="FrontPage, WebStatistics, *Preferences, WebNotify, NewUserTemplate, *LeftBar"}%
shared data and pub directories, seperate lib and bin
Environment
--
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