Bug: View in raw mode filters out SEARCHES containing META Fields
I have a topic that searches a METAFIELD, in view?raw=on it filters out some of the topic text. view?raw=debug works
Test case
%SEARCH{"^%META:FIELD{name=.*AssignedTo.*.*" web="Tasks" nosearch="on" nototal="on" nosummary="on" regex="on" header="|
Task Id |
Task Priority |
Task Status |
Task Summary |
Product |
Est Time |
Due Date |
Creation Date |" format="|
$topic | $formfield(
TaskPriority) | $formfield(
TaskStatus) | $formfield(
TaskSummary) | $formfield(
ProductName) | $formfield(
TimeEstimated) | $formfield(
DueDate) | $createdate |"}%
Task Id |
%CALC{"$COUNTITEMS( $ABOVE() )"}%: 1 |
%CALC{"$COUNTITEMS( $ABOVE() )"}%: 1 |
Task Summary |
%CALC{"$COUNTITEMS( $ABOVE() )"}%: 1 |
0 |
Due Date |
Creation Date |
Environment
--
SvenDowideit - 27 Apr 2004
Follow up
Fix record
This is fixed and in
TWikiAlphaRelease.
Index: View.pm
===================================================================
--- View.pm (revision 1527)
+++ View.pm (working copy)
@@ -139,6 +139,7 @@
my $vtext = "<form><textarea readonly=\"readonly\" wrap=\"virtual\" rows=\"%EDITBOXHEIGHT%\" cols=\"%EDITBOXWIDTH%\">";
$vtext = &TWiki::handleCommonTags( $vtext, $topic );
$text =~ s/&/&\;/go;
+ $text =~ s/%/&\#037\;/go;
$text =~ s/</<\;/go;
$text =~ s/>/>\;/go;
$text =~ s/\t/ /go;
--
PeterThoeny - 31 May 2004