After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 752887 - setitem append string to existing tag instead of replacing it.
setitem append string to existing tag instead of replacing it.
Status: RESOLVED OBSOLETE
Product: gexiv2
Classification: Other
Component: bindings
0.10.x
Other Linux
: High critical
: ---
Assigned To: Gexiv2 Maintainers
Gexiv2 Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-07-26 14:28 UTC by mathieu.clabaut
Modified: 2018-05-22 12:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add test for bug 752887 (2.22 KB, patch)
2016-05-22 06:45 UTC, Jens Georg
none Details | Review

Description mathieu.clabaut 2015-07-26 14:28:58 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 !
Comment 1 Jens Georg 2016-05-22 06:45:10 UTC
Created attachment 328337 [details] [review]
Add test for bug 752887

Signed-off-by: Jens Georg <mail@jensge.org>
Comment 2 Jens Georg 2016-05-22 07:59:08 UTC
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.
Comment 3 GNOME Infrastructure Team 2018-05-22 12:34:35 UTC
-- 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.