[Digikam-devel] [Bug 275311] XMP sidecars are not written for symbolic links

Leif Huhn leif at dkstat.com
Sat Jul 9 06:42:59 BST 2011


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





--- Comment #2 from Leif Huhn <leif dkstat com>  2011-07-09 05:42:58 ---
I think this code in extra/libkexiv2/libkexiv2/kexiv2.cpp may be responsible:

    // ensure that symlinks are used correctly
    QString fileName = filePath;
    QFileInfo info(fileName);
    if (info.isSymLink())
    {
        kDebug() << "filePath" << filePath << "is a symlink."
                 << "Using target" << info.symLinkTarget();
        fileName = info.symLinkTarget();
    }

Unfortunately, the behavior we want is opposite of what the author of that code
wanted.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list