Question
Hi,
I recently reinstalled a new Cairo Twiki and copied all the data, pub, and template directories from a Beijing Twiki.
Everything is working great except for my search lines, which for some reason now refuse to work. For example:
%SEARCH{"Status\: \| In Progress;TOPICPARENT{name=\"%TOPIC%\"};Iterations Completed\: \| none", scope="text" regex="on" nosearch="on" nototal="on" nosummary="on" format="---++++++ $topic New"}%
This previously found all the 'child' topics which contained the 'In Progress' etc strings.
Can anyone help shed some light on this?
In Cairo, does SEARCH no longer search through the metadata lines?
Thanks,
Jeff
Environment
--
JeffVance - 20 Dec 2005
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
I just ran into a very similar problem where I was populating hidden form "fields" with data that resulted from a search of the current TOPIC. The search string under Beijing was a somewhat complex regex - but after upgrading to Cairo I noticed that the SEARCH was returning no data. Turns out that the SEARCH string was too complex. A simple mod confirmed this and I used
GlobalReplacePlugin to make the change everywhere.
I would recommend taking a sample case, twiddling with the SEARCH string and once you figure out what is not working see if you can use the global replace to make your changes. As to
why this a happened under Cairo I haven't a clue.
--
SteveRJones - 25 Jan 2006
Just from glancing at the SEARCH it looks OK to me, although I do not know what the topic content is you are searching. There is no search incompatibility I am aware of between Beijing and Cairo.
--
PeterThoeny - 25 Jan 2006
Try taking out the comma here:
none", scope="text"
^
The comma just worked in Beijing but stopped doing so in Cairo.
--
MartinCleaver - 25 Jan 2006
That must be it, thanks for pointing this out Martin!
--
PeterThoeny - 27 Jan 2006