Tags:
create new tag
, view all tags

Bug: FormattedSearch: $text prevents $formfield

When using both $text and $formfield in a formatted search the $formfield expressions are not evaluated.

Test case

NorbertGaworTest

My solution:

Added in Search.pm before line 525:

$tempVal =~ s/\$formfield\(\s*([^\)]*)\s*\)/getMetaFormField( $meta, $1 )/geos

Environment

TWiki version: 03-Aug-2002
TWiki plugins: none
Server OS: SunOS 5.8
Web server: Apache 1.3.26
Perl version: 5.005_03
Client OS: SunOS 5.8
Web Browser: Netscape 4.76

-- NorbertGawor - 08 Nov 2002

Follow up

The proposed fix is only a partial solution. The $forceRendering in line 548 needs to be investigated.

Fix record

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2002-11-10 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.