An example search:
Number of topics: 1
Is currently returning (r14381):
--
TWiki:Main/SteffenPoulsen - 11 Jul 2007
i don't understand; this site is running the latest code, but the output you give above is HTML; the actual example seems to work fine. Can you please provide a testcase that demonstrates the problem?
--
TWiki:Main.CrawfordCurrie - 12 Jul 2007
I have seen this as well. If you look at
http://develop.twiki.org/~twiki4/cgi-bin/view/Bugs/WebChanges?limit=50, you should see Item4350, which seems to be a completely empty bug.
It happens when a search is looking for form fields (
$formfield(...)
). If the form field is not found in the meta data (i.e. there is no %META:FIELD{..}% for that name), then search will return $value.
Once the form has been edited once, then a %META:FIELD{..}% will be created for each of the fields, whether they have a value or not. When this happens, the search returns nothing, rather than $value.
Hope this is clear! If not, it should be possible to make a test case in the litter tray web. Also if you sign up to
WebRss, you should get notified when a bug like this is created, without %META:FIELD{..}%, so you can look at it. (at first I thought this was due to Item4307, but it appears to be caused by this bug.)
--
TWiki:Main.AndrewRJones - 12 Jul 2007
Testcase:
%SEARCH{"Item4347" scope="topic" format="$formfield(Blah)" nonoise="on"}%
returns
Added a unit testcase. Confirmed.
--
TWiki:Main.CrawfordCurrie - 13 Jul 2007
Fixed
CC