Skip to content

If several values for Iptc.Application2.Keywords are entered in an .exv-file, only one of them will be inserted #3334

@norbertwg

Description

@norbertwg

Describe the bug

The insert command does not insert all values for Iptc.Application2.Keywords, but only one.

To Reproduce

Starting with an image having "first" and "second" entered as Iptc.Application2.Keywords.
Using exiv2 -ea an .exv-file is created. This file still has both values of Iptc.Application2.Keywords.
Using exiv2 -ia the data from .exv-file are inserted again. Now Iptc.Application2.Keywords contains only "second".
If all values for Iptc.Application2.Keywords are deleted before insert, the result is the same.

I am using branch main, commit 4e28dc9

Expected behavior

All values for Iptc.Application2.Keywords should be inserted.

Desktop (please complete the following information):

  • OS Windows 11
  • Exiv2 version and source: 1.00.0.9, built using above mentioned commit
  • Compiler and version: MSVC 2022)
  • Compilation mode and/or compiler flags: Release

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions