[Digikam-devel] [digikam] [Bug 336328] New: Tags Manager's Sync Export DB to metadata, mirrors XMP but it only appends IPTC keywords data

GPSanino orcatech at vtr.net
Mon Jun 16 20:02:16 BST 2014


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

            Bug ID: 336328
           Summary: Tags Manager's Sync Export DB to metadata, mirrors XMP
                    but it only appends IPTC keywords data
    Classification: Unclassified
           Product: digikam
           Version: 4.0.0
          Platform: unspecified
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: Tags
          Assignee: digikam-devel at kde.org
          Reporter: orcatech at vtr.net

This happened when attempting to sync the DB with the metadata of my files,
deleting old tags and renaming others.

On DK 4.0.0, using Tags Manager's tool Sync Export "write tags from DB to
Image", the result was:
1) DB and XMP metadata on files was perfectly mirrored .
2) Checking IPTC metadata on some files with menu/Image/Metadata/Edit all
Metadata/IPTC/Keywords, I noticed that the "old" tags were not deleted and the
new tags layout was appended just below.
3) The attempt of re-reading metadata from files to fill the DB back with the
old tags to manually delete them as in DK3.5.0, failed. The "old" tags did not
show up again on the DB.
4) Trying to do step "3" but copying some files to another box with DK4.0.0
(from OpenSuSE to Kubuntu), showed the same result. Old tags on IPTC were there
and were not added to DB after attempting to re-read metadata using the tool
under menu/Image, nor as Album, nor with the Maintenance tool, nor Tag
Manager's sync export "Read tags from image".

On boxes with DK3.5.0, the same folders were read by DK, and the new as old
tags were added to the DB as expected. The "re-read metadata form files" also
works fine.
To eliminate the old tags, I have used the called "tedious method".

All seems to me that in DK 4.0.0 "re-read metadata from files" is not taking
into account IPTC info, and the writing DB to files' metadata is mirroring
correctly the XMP section but only appending on the IPTC section.

BTW: sync export on "Tag Manager" is confusing since the tool include both
direction from and to DB, it should be only "syn" instead of "export".

Reproducible: Always

Steps to Reproduce:
1.try re-read metadata from files (IPTC) using DK4.0.0
2.check if on the DB the tags in IPTC were added to it.
3.try to "sync export" by using "write tags from database to image" having
files with previous IPTC tags, after adding new tags and disabling others.
4. check menu /image/metadata/edit all metadata/ IPTC keywords, if the IPTC
info is the same as XMP or had just appended that info into the previously
existing data.
Actual Results:  
- XMP metadata is synced properly with Database (mirrored) but the IPTC section
keep its old info while the new info is just added below (appended).

- Additionally, the re-read metadata to files tool, only considers XMP
metadata. The IPTC is not added to Database.

Expected Results:  
Both XMP as well as IPTC image metadata should be mirrored with database.

Tested on 32bit and 64 bits architectures, of OpenSuSE 13.1, Kubuntu-trusty and
LinuxMint16.
Using DK 4.0.0 v/s DK 3.5.0, both with default settings regarding metadata;
without having any  side car function enabled but ensuring that the "write this
info to metadata" is active for tags,
captions, rates and templates. Some box only with DK4.0.0 other with DK3.5.0
and attempts on DK3.5.0 upgraded into 4.0.0, all had the same results
attributed only to Digikam's versions.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list