A query search on Windows fails because the hoisted RE generated by TWiki::Query::HoistRE contains double quotes, and these are not correctly escaped when the grep command line is generated on Windows. Testcase:
%SEARCH{"Status='Closed'" type="query"}%
This is urgent for Windows servers.
--
TWiki:Main/CrawfordCurrie
- 14 Apr 2008
I'll try to reproduce this bug using the provided Windows installer for 4.2.0...
--
TWiki:Main.MarkusUeberall
- 28 Apr 2008
It seems that I'm either unable to reproduce this or I misunderstood your problem description.
Using the forementioned WIndows installer, I created a test topic containing
%SEARCH{"Country='Germany'" type="query"}% which was translated into
^%META:FIELD{name="Country".*\bvalue="Germany" for the call to
egrep, but the result was the same as on my linux box.
(I do see a different output for
%SEARCH{\"Country='Germany'\" type="query"}%, though, but then I'm not sure whether this is supposed to work at all.)
--
TWiki:Main.MarkusUeberall
- 12 May 2008
Now i can't reproduce this either. PEBKAC.
--
CrawfordCurrie - 12 May 2008