GNOME Bugzilla – Bug 752887
setitem append string to existing tag instead of replacing it.
Last modified: 2018-05-22 12:34:35 UTC
Using python3 and libgexiv2 0.10.3 under arch linux : >>> i=GExiv2.Metadata('/tmp/a.jpg') >>> i['Xmp.digiKam.TagsList'] 'aaa, bbb' >>> i['Xmp.digiKam.TagsList'] = 'ccc' >>> i['Xmp.digiKam.TagsList'] 'aaa, bbb, ccc' ##### 'ccc' was expected !
Created attachment 328337 [details] [review] Add test for bug 752887 Signed-off-by: Jens Georg <mail@jensge.org>
Looks like in exiv2, Xmp.digiKam.TagsList is an array internally and setting values on that is actually adding values. So from a exiv2 PoV, this works as expected.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gexiv2/issues/18.