D12475: Handle Error in GetFolderResponseMessage

Stefan BrĂ¼ns noreply at phabricator.kde.org
Mon Apr 23 19:01:43 BST 2018


bruns created this revision.
bruns added a reviewer: dvratil.
bruns requested review of this revision.

REVISION SUMMARY
  In case a Folder which no longer exists is updated, the server responds
  with a GetFolderResponseMessage with ResponseClass="Error". This happens
  if the internal cache still contains a folder, but the folder has been
  deleted meanwhile (e.g. through the web client).
  
  The message contains an empty Folders element which has to be skipped,
  otherwise the outer loop for the GetFolderResponseMessages will try to
  traverse the (nonexisting) Folders element on readNextStartElement.
  
  BUG: 387580

TEST PLAN
  Create a new folder (either using web client or kontact)
  Make sure it appears in kontact
  Delete it in the web client (or using kontact on another computer)
  Try to sync the resource

BRANCH
  handle_getfolderresponsemessage_error

REVISION DETAIL
  https://phabricator.kde.org/D12475

AFFECTED FILES
  resources/ews/ewsclient/ewsgetfolderrequest.cpp

To: bruns, dvratil
Cc: #kde_pim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20180423/fcc82759/attachment.html>


More information about the kde-pim mailing list