[KPhotoAlbum] More bugs ;-)

Robert Krawitz rlk at alum.mit.edu
Tue Feb 26 22:13:50 GMT 2019


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 at alum.mit.edu>

***  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



More information about the Kphotoalbum mailing list