Re: More bugs ;-)

Robert Krawitz <rlk-FrUbXkNCsVf2fBVCVOL8/[email protected]>
Newsgroups gmane.comp.kde.kimdaba
Message-ID <20190226221350.EF12A1437C6@localhost>
On Tue, 26 Feb 2019 23:02:55 +0100, Johannes Zarl-Zierl wrote:
> Am Dienstag, 26. Februar 2019, 22:47:51 CET schrieb Robert Krawitz:
>> On Tue, 26 Feb 2019 22:22:38 +0100, Johannes Zarl-Zierl wrote:
>> > Hi Robert,
>> > 
>> > I've found some more bugs. Matching by some variables seems to be broken:
>> > 
>> > contrib/kpa-filter --db demo/index.xml '($yearTo == 0) && ($monthTo == 0)
>> > && ($dayTo == 0) && ($yearFrom == 0) && ($monthFrom == 0) && ($dayFrom ==
>> > 0)'
>> That's an artifact of older database versions, correct?  This script
>> isn't supposed to support anything older than version 7.  Do I need to
>> know about those options?
>
> I took those straight from the help text of kpa-filter. I thought
> they are there to access the startDate and endDate attributes?  If
> that was not the intention, then yes, they are from an older
> database format (version 1 or 2).

They're in there because the database loader has them.  Since they're
obsolete, I'll remove them; just use the startDate and endDate directly.
-- 
Robert Krawitz                                     <rlk-FrUbXkNCsVf2fBVCVOL8/[email protected]>

***  MIT Engineers   A Proud Tradition   http://mitathletics.com  ***
Member of the League for Programming Freedom  --  http://ProgFree.org
Project lead for Gutenprint   --    http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.