Bug 418647

Summary: kphotoalbum --db always uses 'index.xml' even if a different filename is specified
Product: [Applications] kphotoalbum Reporter: rlk
Component: BackendAssignee: KPhotoAlbum Bugs <kpabugs>
Status: CONFIRMED ---    
Severity: normal CC: johannes
Priority: NOR    
Version: GIT master   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

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