Bug 258377 - Adding Open-Xchange task resource fails due to missing folder identifier
Summary: Adding Open-Xchange task resource fails due to missing folder identifier
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.4.5
Platform: Gentoo Packages Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-30 14:23 UTC by Marcus Klein
Modified: 2017-01-07 22:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Klein 2010-11-30 14:23:50 UTC
Version:           4.4.5 (using KDE 4.4.5) 
OS:                Linux

Open-Xchange server organizes everything in folders: contacts, tasks and appointments. When syncing with kontact the dialog for adding the Open-Xchange resource allows to select to folder to sync.

First if you entered there your account data and you selected folders once, always the same folders are shown even if you changed your account data. The refresh button for the folder lists does not work at all.

Second after saving the settings for the Open-Xchange resource fetching the data from the Open-Xchange backend fails. Kontact forgets to sent the selected identifier of the folder you just selected in the dialog for adding the Open-Xchange resource. Here is the sniffed request for tasks from Open-Xchange:

T 2010/11/30 11:31:00.203072 192.168.32.26:44747 -> 192.168.32.26:80 [AP]
  PROPFIND /servlet/webdav.tasks/ HTTP/1.1..Host: marcus.netline.de..Connection:
Keep-Alive..User-Agent: Mozilla/5.0 (compatible; Konqueror/4.4; Linux) KHTML/4.4.5 (like Gecko).
  .Pragma: no-cache..Cache-control: no-cache..Accept: text/html, image/jpeg;q=0.9,
image/png;q=0.9, text/*;q=0.9, image/*;q=0.9, */*;q=0.8..Accept-Encoding: x-gzip, x-deflate, g
  zip, deflate..Accept-Charset: utf-8, utf-8;q=0.5, *;q=0.5..Accept-Language: de, en-US,
en..Cookie: sessionid=72134118a452484bafee140e618b159c; JSESSIONID=a9c68d52ba854b658b589
  98e0194f104.OX1..                                                                            

T 2010/11/30 11:31:00.203806 192.168.32.26:44747 -> 192.168.32.26:80 [AP]
  Content-Length: 425....                                                                      

T 2010/11/30 11:31:00.203844 192.168.32.26:44747 -> 192.168.32.26:80 [AP]
  <?xml version="1.0" encoding="utf-8"?>..<D:propfind xmlns:D="DAV:">. <D:prop xmlns:D="DAV:">.  <ox:lastsync xmlns:ox="http://www.open-xchange.org">1291030182000</ox:lastsync>.
    <ox:folder_id xmlns:ox="http://www.open-xchange.org"/>.  <ox:objectmode xmlns:ox="http://www.open-xchange.org">NEW_AND_MODIFIED</ox:objectmode>.  <ox:objectmode xmlns:ox="ht
  tp://www.open-xchange.org">DELETED</ox:objectmode>. </D:prop>.</D:propfind>

See the empty ox:folder_id xml element. This xml element must carry the folder identifier like the ox:lastsync element carries the timestamp of the last sync in milliseconds.

Reproducible: Always

Steps to Reproduce:
Try to add the Open-Xchange resource to Kontact.

Actual Results:  
Synching the tasks and appointments fails.

Expected Results:  
It works as expected.

This has been reported to Open-Xchange but Kontact needs to be fixed:

https://bugs.open-xchange.com/show_bug.cgi?id=17662
Comment 1 Denis Kurz 2016-09-24 19:20:41 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 22:42:24 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.