Thanks for the bug report.  This is now fixed by

https://github.com/cyrusimap/cyrus-imapd/commit/b02b682280fa42875284671f1f500e4a8d87a6fa <https://github.com/cyrusimap/cyrus-imapd/commit/b02b682280fa42875284671f1f500e4a8d87a6fa>



On 5/16/21 5:31 AM, laute...@web.de wrote:
Platform: RasberryPi, Fedora 34
Cyrus-imapd version: 3.2.4 (cyrus-imapd-3.2.4-5.fc34.aarch64)

I try to use CalDav from cyrus-imap with a CalDavZap/CardDavZap frontend.
With the current version of cyrus-imapd no data is shown.
After analysing the HTML transfer I saw that the response XML is not parseable. /Error: [netFindResource: 'PROPFIND //https:/// <https://laute...@lauterbach.spdns.de/dav/calendars/user/lauterba/>/.....................//']: code: '207' status: 'parsererror'/ After some detailed analyses I saw that the namespace for "CY" is missing (xmlns:CY="http://cyrusimap.org/ns/ <http://cyrusimap.org/ns/>")

Here a dump of the transfered XML data:

<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:" xmlns:I="http://inf-it.com/ns/dav/ <http://inf-it.com/ns/dav/>"
xmlns:L="urn:ietf:params:xml:ns:caldav"
xmlns:R="urn:ietf:params:xml:ns:carddav">
  <D:response>
<D:href>/dav/calendars/user/lauterba/</D:href>
    <D:propstat>
      <D:prop>
        <I:settings>
<![CDATA[{"version":3," /.....................content removed ......................./ "loadedaddressbookcollections":[]}]]>
        </I:settings>
        <D:current-user-privilege-set>
          <D:privilege>
            <D:all />
          </D:privilege>
          <D:privilege>
            <D:read />
          </D:privilege>
          <D:privilege>
            <L:read-free-busy />
          </D:privilege>
          <D:privilege>
            <D:write />
          </D:privilege>
          <D:privilege>
            <D:write-content />
          </D:privilege>
          <D:privilege>
            <D:write-properties />
          </D:privilege>
          <D:privilege>
<CY:write-properties-collection />
          </D:privilege>
          <D:privilege>
<CY:write-properties-resource />
          </D:privilege>
          <D:privilege>
            <D:bind />
          </D:privilege>
          <D:privilege>
<CY:make-collection />
          </D:privilege>
          <D:privilege>
       <CY:add-resource />
          </D:privilege>
          <D:privilege>
            <D:unbind />
          </D:privilege>
          <D:privilege>
<CY:remove-collection />
          </D:privilege>
          <D:privilege>
      <CY:remove-resource />
          </D:privilege>
          <D:privilege>
     <CY:admin />
          </D:privilege>
        </D:current-user-privilege-set>
        <D:displayname>
<![CDATA[#calendars]]>
        </D:displayname>
        <D:resourcetype>
          <D:collection />
        </D:resourcetype>
      </D:prop>
      <D:status>HTTP/1.1 200 OK</D:status>
    </D:propstat>
    <D:propstat>
      <D:prop>
        <L:calendar-home-set />
        <R:addressbook-home-set />
      </D:prop>
      <D:status>HTTP/1.1 404 Not Found</D:status>
    </D:propstat>
  </D:response>
</D:multistatus>

WIth a previous version (unfortunately I do not know which one) of cyrus-imapd the problem was not visible.
The Version of CalDavZap (0,13,1) is unchanged.
*Cyrus <https://cyrus.topicbox.com/latest>* / Devel / see discussions <https://cyrus.topicbox.com/groups/devel> + participants <https://cyrus.topicbox.com/groups/devel/members> + delivery options <https://cyrus.topicbox.com/groups/devel/subscription> Permalink <https://cyrus.topicbox.com/groups/devel/Tbe82096ed38fac97-M2f71d08fd8e6a785dace3809>

--
Kenneth Murchison
Senior Software Developer
Fastmail US LLC


------------------------------------------
Cyrus: Devel
Permalink: 
https://cyrus.topicbox.com/groups/devel/Tbe82096ed38fac97-M818f71cca87d054e5be748ae
Delivery options: https://cyrus.topicbox.com/groups/devel/subscription

Reply via email to