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

Daniel Vrátil <dvra...@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 <dvra...@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.

Reply via email to