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

            Bug ID: 458921
           Summary: Maintenance > Sync Metadata and Database (Sync
                    Direction: From image metadata to database) does not
                    work for disabled or deleted tags
           Product: digikam
           Version: 7.8.0
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: grave
          Priority: NOR
         Component: Maintenance-Metadata
          Assignee: digikam-bugs-n...@kde.org
          Reporter: t.nog...@web.de
  Target Milestone: ---

SUMMARY
Maintenance > Sync Metadata and Database (Sync Direction: From image metadata
to database) does not work for disabled or deleted tags.

STEPS TO REPRODUCE
Prerequisites
- You have two digiKam-SQLite-databases (e.g. "first_database" and
"second_database")
- Both databases should contain the same album with a photo I'll call "JPG"
here
- Metadata should be written into JPGs

1. Start digiKam using SQLite-database "first_database".
2. Create a new tag, e.g. "test". Write the tag into a JPG.
3. Start digiKam using the "second_database".
4. Here the new tag does not exist.
5. Tools > Maintenance... > Sync Metadata and Database, Sync Direction: From
image to database
    Click "OK"
6. Now the new tag should appear in the Tags tree.
7. Select the JPG containing the tag "test". Deselect or delete the tag. Wait
until/ensure there's no pending metadata synchronization and no active process.
8. You can test the result with a file manager: the JPG should not contain a
tag "test" now.
9. Start digiKam using "first_database". Here the tag "test" is present in the
tag tree and set for the JPG because that's the information the database
provides.
10. Tools > Maintenance... > Sync Metadata and Database, Sync Direction: From
image to database
    Click "OK"

OBSERVED RESULT
No changes are visible. The tag "test" remains present in the tag tree and set
for the JPG.

EXPECTED RESULT
In case the tag was disabled in second_database: The tag should be disabled for
the JPG in first_database, too.
In case the tag was deleted in second_database: The tag should be deleted in
first_database as well.

SOFTWARE/OS VERSIONS
Windows 10 professional
digiKam 7.8.0

Thanks in advance for having a look at this problem.

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

Reply via email to