Exports aren't sorted consistently

This forum is for all bugs and errors concerning the current SVN snapshot.
Note that all bugs concerning the final releases should be posted on the KeePassX project page
mschmarck
KPX user
Posts: 3
Joined: 19 Aug 2008, 21:04

Exports aren't sorted consistently

Postby mschmarck » 19 Aug 2008, 21:14

I use KeePassX at work and at home. From time to time, I sync the databases. Because of that, the databases are already more or less the same.

Now I wanted to sync them again. To find differences, I exported the "work.kdb" and the "home.kdb" to XML and TXT and then ran diff's against {work,home}.xml or {work,home}.txt. I find, that the database exports are sorted differently, depending on wether I exported the home.kdb or the work.kdb.

Eg. in home.txt, there's:

Title: Holiday Check
Username: A.S…
Url: https://secure.holidaycheck.de/index.php
Password: mK9y…
Comment: E-Mail: holidaycheck.to.s…


Title: FAQTs
Username: ale…
Url: http://www.faqts.com
Password: MRZSX…
Comment: E-Mail: faqts_xug…

Title: No-IP.com
Username: no-ip_mschmarck@…
Url: http://www.no-ip.com
Password: C^jp3…
Comment: no-ip_mschmarck@…
Frage: Name …
Antwort: H…


In work.txt, there's:

Title: No-IP.com
Username: no-ip_mschmarck@…
Url: http://www.no-ip.com
Password: C^jp3…
Comment: no-ip_mschmarck@…
Frage: Name…
Antwort: H…

Title: FAQTs
Username: al…
Url: http://www.faqts.com
Password: MRZSX…
Comment: E-Mail: faqts_xug…

Title: Netvibes (Neu #2)
Username: netvibes_auto…
Url: http://www.netvibes.com/
Password: W1Vyx…
Comment: E-Mail: netvibes_auto…


The entries are the same in both databases, but the order is different. Because of that, using diff (or rather meld, but that doesn't matter) is impractical.

I consider this to be a bug, because the export order also doesn't resemble what's shown in the GUI. Either the export order should be exactly what's shown in the GUI or it should always be the same, if there's some sort of internal order.

I'm using SVN trunk rev. 217.

Thanks,
Mike

Return to “Bugs (SVN release)”

Who is online

Users browsing this forum: No registered users and 1 guest