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

Christian Mollekopf bugzilla_noreply at kde.org
Thu Aug 6 14:08:12 BST 2020


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

Christian Mollekopf <mollekopf at kolabsys.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/pim/ |https://invent.kde.org/pim/
                   |kimap/commit/ee2900e3539483 |kimap2/commit/ce0e9873d3a89
                   |b6f3d5eadfcf8cfc9c6ed42abe  |7fee7fd9f8f7649ef4abd3c4627

--- Comment #6 from Christian Mollekopf <mollekopf at kolabsys.com> ---
Git commit ce0e9873d3a897fee7fd9f8f7649ef4abd3c4627 by Christian Mollekopf, on
behalf of Dennis Schridde.
Committed on 06/08/2020 at 12:59.
Pushed by cmollekopf into branch 'master'.

Idempotent CREATE and DELETE

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

M  +27   -0    src/createjob.cpp
M  +2    -1    src/createjob.h
M  +27   -0    src/deletejob.cpp
M  +2    -1    src/deletejob.h

https://invent.kde.org/pim/kimap2/commit/ce0e9873d3a897fee7fd9f8f7649ef4abd3c4627

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


More information about the Kdepim-bugs mailing list