Bug 341819 - Auto-creation of date-based sub-albums ignored
Summary: Auto-creation of date-based sub-albums ignored
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: 4.5.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-12 18:50 UTC by Victor Engmark
Modified: 2017-08-16 06:14 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.14.0


Attachments
Screenshot of settings (6.58 KB, image/png)
2015-08-18 10:48 UTC, Victor Engmark
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Engmark 2014-12-12 18:50:05 UTC
This functionality stopped working in a recent version. Since in the last version import didn't work at all for my camera, it could have been failing since 4.3.0.

Reproducible: Always

Steps to Reproduce:
1. Connect a camera
2. Click "Import" and select the camera
3. Check the "Date-based sub-albums"
4. Click "Download" and select "Download All"

Actual Results:  
All files are downloaded/imported to the root of the main album (/home/user/pictures in my case).

Expected Results:  
All files should be imported to a directory named according to the date in the file.
Comment 1 caulier.gilles 2014-12-12 19:44:29 UTC
In next 4.6.0 release planed this week end, few improvements and fixes have been introduced in Import tool...

Gilles Caulier
Comment 2 Maik Qualmann 2015-08-16 19:07:19 UTC
digiKam 4.12.0 is out.

https://www.digikam.org/node/741

Problem still reproducible ?

Maik
Comment 3 Victor Engmark 2015-08-18 09:45:02 UTC
Yes. Has anyone else actually tried to reproduce this at all?
Comment 4 Maik Qualmann 2015-08-18 10:42:46 UTC
Yes, I tried it. Here not to reproduce. Which date format do you use?

Maik
Comment 5 Victor Engmark 2015-08-18 10:48:54 UTC
Created attachment 94093 [details]
Screenshot of settings

I'm using ISO dates.
Comment 6 Maik Qualmann 2015-08-31 10:31:27 UTC
Are created with you the date-based sub-albums from import tool?

Maik
Comment 7 Victor Engmark 2015-09-08 13:37:14 UTC
(In reply to Maik Qualmann from comment #6)
> Are created with you the date-based sub-albums from import tool?

I don't understand what you mean. Is something in the original bug report unclear? Are you asking about a special case or whether I could try something specific?
Comment 8 caulier.gilles 2015-09-08 13:56:20 UTC
I think Maik ask if you have use the option "date-based sub-albums" to create target album in your collection while the import process ?

Gilles Caulier
Comment 9 Victor Engmark 2015-09-09 01:23:53 UTC
(In reply to Gilles Caulier from comment #8)
> I think Maik ask if you have use the option "date-based sub-albums" to
> create target album in your collection while the import process ?

I'm not sure I understand that either. Are you asking whether the option "Date-based sub-albums" was checked? Because I very clearly said it was in the original report:

> 3. Check the "Date-based sub-albums"

I also added a screenshot <https://bugs.kde.org/attachment.cgi?id=94093> corroborating this. So the option "Date-based sub-albums" really is checked, enabled, used, activated and present.

If that was *not* the question, then please respond in French. Je crois que je peut la comprendre suffisamment pour vous répondre.
Comment 10 Maik Qualmann 2015-09-16 19:15:52 UTC
My question was, if the "Date-based sub-albums" folders created correctly in the album path? Only the images are not copied into the folders?

Maik
Comment 11 Victor Engmark 2015-09-16 22:54:53 UTC
(In reply to Maik Qualmann from comment #10)
> My question was, if the "Date-based sub-albums" folders created correctly in
> the album path? Only the images are not copied into the folders?

Ah. It was not created. However:
- I am version controlling the configuration file <https://github.com/l0b0/tilde/blob/4ee8bcf32fb2f19394921e90a3a3de1cc847407e/.kde4/share/config/digikamrc>, and I'm using it on two different machines (a desktop and laptop which are otherwise virtually identical due to being set up using <https://github.com/l0b0/root>). Date-based sub-albums work on the desktop *only*, so I'm a bit stumped. Is there some reason to believe anything in digikam4.db or KDE configurations could be responsible?
Comment 12 Maik Qualmann 2015-09-23 21:11:00 UTC
Git commit f0bca201b494dae8389e8b760cbc1d08ea517958 by Maik Qualmann.
Committed on 23/09/2015 at 21:07.
Pushed by mqualmann into branch 'master'.

fix creation of date-based sub-albums when using GPhoto2 device + RAW image + metadata
FIXED-IN: 4.14.0

M  +2    -1    NEWS
M  +5    -1    utilities/importui/backend/dkcamera.cpp
M  +12   -1    utilities/importui/backend/gpcamera.cpp

http://commits.kde.org/digikam/f0bca201b494dae8389e8b760cbc1d08ea517958
Comment 13 caulier.gilles 2015-09-23 22:51:03 UTC
Git commit f38a1f80cf4e7156edd9a6887eeb552f9983cdc7 by Gilles Caulier.
Committed on 23/09/2015 at 22:50.
Pushed by cgilles into branch 'frameworks'.

backport commit #f0bca201b494dae8389e8b760cbc1d08ea517958 from git/master to frameworks branch

M  +14   -9    utilities/importui/backend/dkcamera.cpp
M  +12   -1    utilities/importui/backend/gpcamera.cpp

http://commits.kde.org/digikam/f38a1f80cf4e7156edd9a6887eeb552f9983cdc7