Item8800: SEARCH date param seems to be broken

pencil
Priority: Urgent
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
there are no unit tests

I added the following searches to my Sandbox web, and created a topic where the TOPICINFO date was set to 1 (ie, in 1970)0 -

Interestingly, that topic is listed in 2010, though the displayed date was 1970

---+++ 1969
%SEARCH{"1" type="query" date="1969"}%
---+++ 1970
%SEARCH{"1" type="query" date="1970"}%
---+++ 1971
%SEARCH{"1" type="query" date="1971"}%
---+++ 2008
%SEARCH{"1" type="query" date="2008"}%
---+++ 2009
%SEARCH{"1" type="query" date="2009"}%
---+++ 2010
%SEARCH{"1" type="query" date="2010"}%

given that the code that does this filtering is pretty disgusting, it could at least have unit tests, and work correctly.

Sven might work on this later.

-- SvenDowideit - 30 Mar 2010

see Fn_SEARCH::verify_date_param

interestingly, I can use the MetaCache to access the correct rev time when using query search, specifically because the meta obj has previously been accessed.

somewhat fixed in trunk.

-- SvenDowideit - 30 Mar 2010
 

ItemTemplate edit

Summary SEARCH date param seems to be broken
ReportedBy SvenDowideit
Codebase trunk
SVN Range
AppliesTo Engine
Component
Priority Urgent
CurrentState Closed
WaitingFor
Checkins distro:2699b3c7c35b
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r4 - 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