[Kde-pim] Review Request 112734: Fix renaming of IMAP folders on server with separator other than "/"
Dan Vrátil
dvratil at redhat.com
Sun Sep 15 11:33:12 BST 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/112734/
-----------------------------------------------------------
Review request for KDEPIM and Kevin Ottens.
Description
-------
ResourceTask::separatorCharacter() is giving up too easily when parent collection is not available (which happens with ChangeCollectionTask for instance) and just falls back to "/" separator. In cases like ChangeCollectionTask however, we can get the separator from remoteId of the current collection.
This fixes renaming of subfolders on servers that use for instance "." as a separator.
This addresses bug 324219.
http://bugs.kde.org/show_bug.cgi?id=324219
Diffs
-----
resources/imap/resourcetask.cpp f63e986
Diff: http://git.reviewboard.kde.org/r/112734/diff/
Testing
-------
Successfully renamed a folder on a server which is using "." separator. Since separatorCharacter() is reimplemented in ResourceState, it cannot be properly unittested (tests use DummyResourceState with custom simplified implementation)
Thanks,
Dan Vrátil
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list