Summary: | wrongly calculated uniqueHash | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Kusi <kusi> |
Component: | Database-Mysql | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | caulier.gilles, kusi, laurakittyinka, metzpinguin |
Priority: | NOR | ||
Version: | 5.2.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/digikam/2b8265ab1c785fae668dec4b468242cc898acc83 | Version Fixed In: | 5.4.0 |
Sentry Crash Report: | |||
Attachments: | database.png |
Description
Kusi
2016-11-27 20:25:20 UTC
You are right. A patch can be easy to make against git/master... Gilles Caulier Git commit 2b8265ab1c785fae668dec4b468242cc898acc83 by Maik Qualmann. Committed on 27/11/2016 at 21:39. Pushed by mqualmann into branch 'master'. fix wrongly calculated uniqueHash v1 FIXED-IN: 5.4.0 M +2 -1 NEWS M +1 -1 libs/dimg/loaders/dimgloader.cpp M +2 -1 utilities/setup/setupdatabase.cpp https://commits.kde.org/digikam/2b8265ab1c785fae668dec4b468242cc898acc83 If you are still at uniqueHash v1 version, see you in setup->database the update button for the uniqueHash v2 version. Maik Maik, where exactly can I update to v2? I don't see any option in the settings of DK5.2 Kusi PS: thanks for the fast fix! Created attachment 102491 [details]
database.png
See screenshot, if the database has not yet been converted to V2, this entry appears. Otherwise, the entry in the Settings table should be reset external.
SQL Command:
UPDATE digikam.Settings SET value=1 WHERE keyword=uniqueHashVersion;
Maik
thanks, that solved my problem! Just for reference, before your fix, the "update hash" GUI did not work. For me, the issue is solved, but I'm sure there are thousands of installations out there with invalid uniqueHash values. I strongly recommend to force a uniqueHash update to v2 in DK 5.4. Furthermore, most of the SQL errors are not sent to the GUI, they are only visible on the command line. The user just don't see images or other weird behavior and has no clue why. It would be really helpful to be more strict and let the user know in case of errors. >Furthermore, most of the SQL errors are not sent to the GUI, they are only visible on the command line. The user just don't see images or other weird behavior and has no clue why. It would be really helpful to be more strict and let the user know in case of errors.< (Kusi)
As one of the most silly users (don't even know what a unique hash algorithm is) I can only support this as a matter of principle.
|