NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Use
Item9693 for docu changes for 1.2 and 2.0.
Item8800: SEARCH date param seems to be broken
| Priority: |
CurrentState: |
AppliesTo: |
Component: |
WaitingFor: |
| Urgent |
Closed |
Engine |
|
|
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