[Digikam-devel] [Bug 311973] New: Extra commas in IPTC keywords should be trimmed, otherwise messes up naming

Joseph Reagle joseph.2011 at reagle.org
Thu Dec 20 08:44:06 GMT 2012


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

            Bug ID: 311973
          Severity: normal
           Version: unspecified
          Priority: NOR
          Assignee: digikam-devel at kde.org
           Summary: Extra commas in IPTC keywords should be trimmed,
                    otherwise messes up naming
    Classification: Unclassified
                OS: Linux
          Reporter: joseph.2011 at reagle.org
          Hardware: Ubuntu Packages
            Status: UNCONFIRMED
         Component: Metadata
           Product: digikam

Hi, I've noticed in using Digikam I ended up with e.g. Keywords=", test" (in
the IPTC metadata tab, but nothing in the tag edit itself). This appears as an
empty keyword in other applications and (more importantly) interferes with my
naming system (wherein keywords are separated by a hyphen) because I end up
with files with '--' in them (null value between the hyphens).

Digikam should trim extra commas / empty keywords.

Reproducible: Always

Steps to Reproduce:
1. Somehow end up with extra comma -- perhaps this can be done on purpose.
2. Look at IPTC metadata
3. Try a rename mask like this and see extra hyphens:
[date:dd-hmm]-[meta:Iptc.Application2.Keywords]{replace:", ","-",i}{lower}
Actual Results:  
extra commas -- and hyphens in rename

Expected Results:  
trimmed commas (no empty keywords)

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



More information about the Digikam-devel mailing list