Item2340: METASEARCH - uses some very funky and untested bits of SEARCH, and the documentation is out of date

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component:
Branches:
Reported By: SvenDowideit
Waiting For:
Last Change By: KennethLavrsen
I note that METASEARCH is implemented using regex - this should be replaced with query impl. Similarly, it uses the _callback method -

there seem to NO unit tests at all for either METASEARCH, nor for _callback frown, sad smile

apparently,

  1. not specifying a format is supposed to render as 'Results in table' - this isn't so.
  2. if there are no results, title is still rendered - not sure if this was always the case (it is in 1.0, and trunk)
  3. there really should be examples of how to replace each case with query

-- SvenDowideit - 08 Nov 2009

I finished the deprecation of METASEARCH and META, which had been half-done. I really can't be arsed trying to reverse engineer what it does to create unit tests or proper doc. It's too weird.

-- CrawfordCurrie - 21 Jul 2010

ItemTemplate edit

Summary METASEARCH - uses some very funky and untested bits of SEARCH, and the documentation is out of date
ReportedBy SvenDowideit
Codebase
SVN Range Foswiki-1.0.7, Sun, 20 Sep 2009, build 5061
AppliesTo Engine
Component
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:79fd98d35aea distro:eff3cc56cb12 distro:b49454651026
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r6 - 04 Oct 2010, KennethLavrsen
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy