[Akonadi] [Bug 423672] org.kde.pim.imapresource: Failed to create folder on server: "Create failed, server replied: ... NO Mailbox already exists ... [ ALREADYEXISTS ]"

Dennis Schridde bugzilla_noreply at kde.org
Sun Jul 5 16:50:03 BST 2020


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

--- Comment #2 from Dennis Schridde <devurandom at gmx.net> ---
Created attachment 129920
  --> https://bugs.kde.org/attachment.cgi?id=129920&action=edit
kimap-20.04.2-create-alreadyexists-is-not-an-error.patch

Attached patch fixes the issue in in KIMAP 20.04.2 by making CREATE and DELETE
idempotent.

If CREATE fails with an ALREADYEXISTS response code, that is not an error since
the intended result (the object existing at the target location) has been
achieved.

Likewise, if DELETE fails with an NONEXISTENT response code, that is not an
error since the intended result (the object being gone from the target
location) has been achieved.

Please note that for RENAME response code ALREADYEXISTS *is* an error since the
content of the source folder was not moved as intended.

cf. https://tools.ietf.org/html/rfc5530#section-3

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


More information about the Kdepim-bugs mailing list