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

Daniel Vrátil bugzilla_noreply at kde.org
Tue Jul 7 18:57:49 BST 2020


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

Daniel Vrátil <dvratil at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/pim/
                   |                            |kimap/commit/ee2900e3539483
                   |                            |b6f3d5eadfcf8cfc9c6ed42abe
         Resolution|---                         |FIXED

--- Comment #5 from Daniel Vrátil <dvratil at kde.org> ---
Git commit ee2900e3539483b6f3d5eadfcf8cfc9c6ed42abe by Daniel Vrátil, on behalf
of Dennis Schridde.
Committed on 07/07/2020 at 17:49.
Pushed by dvratil 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  +1    -0    src/createjob.h
M  +27   -0    src/deletejob.cpp
M  +1    -0    src/deletejob.h

https://invent.kde.org/pim/kimap/commit/ee2900e3539483b6f3d5eadfcf8cfc9c6ed42abe

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


More information about the Kdepim-bugs mailing list