The foswiki svn repository is obsolete. Developers should register for a http://github.com/ account for commit access to foswiki project. Github is ready for updates.

Item8809: SEARCH newline

does not work
Priority: CurrentState: AppliesTo: Component: WaitingFor:
Urgent Closed Engine    
SEARCH newline $n does not work

Similar problem as in Item8808

Similar solution

Have fix.

Need to make unit test to verify this case.

-- KennethLavrsen - 31 Mar 2010

Major SMELL. The doc (VarSEARCH) says this works for $pattern and $formfield, but there is no way it can work for $formfield - the presentation of formfields is buggered up, big time.

I added a unit test for what I think is the correct behaviour, but commented the key bit out (see Fn_SEARCH::verify_nl_in_result). Leaving this open, urgent, as the doc needs to be corrected if the behaviour isn't changed.

-- CrawfordCurrie - 14 Jun 2010

 
Topic revision: r8 - 04 Oct 2010, KennethLavrsen
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License