Bug 386224 - Metadata is not updated when moving tags
Summary: Metadata is not updated when moving tags
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Tags-Keywords (show other bugs)
Version: 5.8.0
Platform: Other All
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-26 19:49 UTC by Simon
Modified: 2018-03-27 21:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon 2017-10-26 19:49:13 UTC
When moving a tag in the left sidebar from one parent tag to another, this change is not reflected in the metadata. When afterwards writing metadata to file by item menu or using maintenance tool the correct tags are written to the file. This should happen automatically.

This is about the same operation as 368734, but the problem is different: In the other issue it is about the moved tag not being correctly saved in the sqlite database. This works for mysql which I use to reproduce this bug.
Comment 1 Maik Qualmann 2018-03-27 21:04:53 UTC
Git commit f748bdaa1015277e2c082c94b36dcaba48a38f76 by Maik Qualmann.
Committed on 27/03/2018 at 21:03.
Pushed by mqualmann into branch 'master'.

write metadata to images after move, rename or delete tags,
we ask the user if > 100 images are affected
Related: bug 370245
FIXED-IN: 6.0.0

M  +3    -1    NEWS
M  +69   -2    core/libs/album/albummanager.cpp
M  +5    -1    core/libs/album/albummanager.h
M  +2    -2    core/tests/albummodel/albummodeltest.cpp

https://commits.kde.org/digikam/f748bdaa1015277e2c082c94b36dcaba48a38f76