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

            Bug ID: 449754
           Summary: Empty metadata XMP values are created when applying
                    template
           Product: digikam
           Version: 7.5.0
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Metadata-Template
          Assignee: digikam-bugs-n...@kde.org
          Reporter: jose_oli...@hotmail.com
  Target Milestone: ---

Created attachment 146398
  --> https://bugs.kde.org/attachment.cgi?id=146398&action=edit
Exiftool panel with empty fields screenshot

SUMMARY
Empty metadata XMP values are created when applying template


STEPS TO REPRODUCE
1. Select an image and click on "Captions" on the right sidebar.
2. Create a new Metadata Template with Sublocation, City, Province-State,
Country Information.
3. Apply Metadata Template to Image and have it saved to file.
4. Select "Metadata" from right sidebar and click on "Exiftool"

OBSERVED RESULT
- Empty Metadata fields (see attached screenshot)

EXPECTED RESULT
- Metadata fields with no values should not be added to file XMP.
- If a value is empty the XMP entry should not be added.

SOFTWARE/OS VERSIONS
Windows 11

ADDITIONAL INFORMATION
- Inconsistent with other metadata template application in Digikam - Did not
see this occur with template with Copyright.
- Running command to extract XMP:   exiftool <filename> -xmp -b > output.txt 

Example:
                        <Iptc4xmpCore:CreatorContactInfo
Iptc4xmpCore:CiAdrCity=""
                                                        
Iptc4xmpCore:CiAdrCtry=""
                                                        
Iptc4xmpCore:CiAdrExtadr=""
                                                        
Iptc4xmpCore:CiAdrPcode=""
                                                        
Iptc4xmpCore:CiAdrRegion=""
                                                        
Iptc4xmpCore:CiEmailWork=""
                                                        
Iptc4xmpCore:CiTelWork=""
                                                        
Iptc4xmpCore:CiUrlWork=""/>

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

Reply via email to