Bug 418647 - kphotoalbum --db always uses 'index.xml' even if a different filename is specified
Summary: kphotoalbum --db always uses 'index.xml' even if a different filename is spec...
Status: CONFIRMED
Alias: None
Product: kphotoalbum
Classification: Applications
Component: Backend (show other bugs)
Version: GIT master
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KPhotoAlbum Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-08 22:13 UTC by rlk
Modified: 2020-03-08 22:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rlk 2020-03-08 22:13:57 UTC
SUMMARY

kphotoalbum always uses index.xml as the file part of the path, even if --db specifies otherwise, e. g.

kphotoalbum --db index2.xml

STEPS TO REPRODUCE
1. Create (or not) a database file named something other than index.xml
2. run kphotoalbum --db something_not_named_index.xml

OBSERVED RESULT

kphotoalbum loads index.xml if present, or prompts to create one if not, regardless of whether the specified file name exists.

EXPECTED RESULT

kphotoalbum should use the specified filename.

SOFTWARE/OS VERSIONS
All irrelevant; the issue is in kphotoalbum proper.  This happens to be with revision c4a5190fc63879f4d3051550cbe30d0604dc5b68