https://bugs.kde.org/show_bug.cgi?id=434246

            Bug ID: 434246
           Summary: XMP metadata fails to write to file
           Product: digikam
           Version: 7.2.0
          Platform: Compiled Sources
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Database-Files
          Assignee: digikam-bugs-n...@kde.org
          Reporter: michael.c.bro...@gmail.com
  Target Milestone: ---

Created attachment 136559
  --> https://bugs.kde.org/attachment.cgi?id=136559&action=edit
Test file which reproduces XMP data fail to write

SUMMARY
XMP metadata is failing to write to a file. Based on testing, this appears to
be caused by corrupted existing face data (mwg-rs) already in the file. digiKam
does not provide any error message to let the user know there is an issue.

STEPS TO REPRODUCE
1. Load the attached file in digiKam
2. Read existing metadata (Item > Reread metadata from file)
3. Add new face tag data 
4. Write metadata to file (Item > Write metadata to file)
5. Check the metadata of the file

OBSERVED RESULT
New face tag data is not written to the file as expected.

EXPECTED RESULT
File would contain newly added face tag metadata.

SOFTWARE/OS VERSIONS
Windows: 10.0.19042 Build 19042 (Microsoft Windows 10 Pro)
digiKam version: 7.2.0-rc

ADDITIONAL INFORMATION
I believe this is caused by corrupted existing face data already in the file
under the "mwg-rs" XMP tag. I can resolve the error by removing mwg-rs metadata
using the 3rd-party tool exiftool, then rewriting the face tag data in digiKam.
Note: I recently upgraded from digiKam 6.4 to 7.2.0-rc. I am unclear if this
upgrade introduced the corrupted XMP data.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to