Summary: | "Album Path" config variable still necessary? | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Andi Clemens <andi.clemens> |
Component: | Setup-Database | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | normal | CC: | caulier.gilles, marcel.wiesweg |
Priority: | NOR | ||
Version: | 0.10.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 1.0.0 | |
Sentry Crash Report: |
Description
Andi Clemens
2009-02-11 00:31:27 UTC
The config entry is used in schemaupdater when updating from 0.9, that cannot have hit you here (unless there was an old digikam3.db lying in that folder) Then it is used in main.cpp, when no collection is found and also when the first run dialog is run (should use a better interface to the dialog's result, that's for sure). All that would be resolved if an initial collection was added when starting with a fresh db. I think we had a complex discussion by mail about that, which I dont remember in detail, but thinking about it I dont believe the issues were properly resolved. SVN commit 930090 by mwiesweg: Expose chosen settings in API, so config need not be accessed to get result CCBUG: 183972 M +15 -1 digikamfirstrun.cpp M +3 -0 digikamfirstrun.h WebSVN link: http://websvn.kde.org/?view=rev&revision=930090 SVN commit 930091 by mwiesweg: In setDatabase, check that there is at least one album root. If called after the first-run dialog from main, a suggestion is given. Otherwise (creating a fresh db from changeDatabase()) the setup collections page is opened. CCBUG: 183972 M +14 -1 albummanager.cpp M +1 -1 albummanager.h WebSVN link: http://websvn.kde.org/?view=rev&revision=930091 SVN commit 930093 by mwiesweg: - use "Album Path" when upgrading from 0.9 to read database location - get chosen values directly from FirstRun dialog - properly delete first run dialog - leave check that at least one album root exists to AlbumManager CCBUG: 183972 M +10 -18 main.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=930093 SVN commit 930094 by mwiesweg: Add code for use case of moving db dir to a directory with an old 0.9 database file. Try to consolidate monster method. This needs testing. CCBUG: 183972 M +89 -37 albummanager.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=930094 Andi, can we close this bug or is there a situation that still fails? Btw, I tried removing the config variable but came to situations where upgrading failed, and decided not to invest too much into this or run the risk of breaking well-tested scenarios. Good question, I have not tested this in a while. I think we can close it since it was a special case of testing (and I guess it was even fixed as I tested it after your above commits). Andi I close this one as WONTFIX, it is not that important and before it creates more trouble than it solves any... :-) |