Bug 436758

Summary: Question to date-format of import images
Product: [Applications] digikam Reporter: herb <herb.k>
Component: Import-SettingsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: caulier.gilles
Priority: NOR    
Version First Reported In: 7.3.0   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In: 7.3.0
Sentry Crash Report:

Description herb 2021-05-08 09:16:27 UTC
SUMMARY
Hello

For import of images the field "Date-format" is validated also in cases it is not needed.


STEPS TO REPRODUCE
1. Click Import -->  Add Images... and after selecting a directory the dialog "images found" is displayed.
2. On right area there is a subarea "Auto creation of Albums". Suppose "Date-based subalbums" has "Date-format" == "custom", but the corresponding input-field is empty.
3. Uncheck "Date-based Subalbums" and click on Download to start the import.

OBSERVED RESULT
Now the date-format is validated and because of the empty field an error message is displayed (although "Date-based Subalbums" is unchecked).


EXPECTED RESULT
I think it would be better to validate this field only in case of it is really needed.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2021-05-08 21:33:17 UTC
Git commit 1329f9ca2bd353793487b88b1a0629820f41ff32 by Maik Qualmann.
Committed on 08/05/2021 at 21:32.
Pushed by mqualmann into branch 'master'.

check if auto create date albums are activated
FIXED-IN: 7.3.0

M  +2    -2    NEWS
M  +2    -1    core/utilities/import/main/importui.cpp

https://invent.kde.org/graphics/digikam/commit/1329f9ca2bd353793487b88b1a0629820f41ff32