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

           Summary: Adding Open-Xchange task resource fails due to missing
                    folder identifier
           Product: kontact
           Version: 4.4.5
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs@kde.org
        ReportedBy: marcus.kl...@open-xchange.com


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

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to