View Issue Details

IDProjectCategoryView StatusLast Update
0003370SOGoBackend Address Bookpublic2023-02-23 13:49
Reporterdavdroid Assigned Toludovic  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.2.10 
Fixed in Version2.3.3 
Summary0003370: Empty multi-status on REPORT addressbook-query
Description

Whenever submitting a REPORT addressbook-query, SOGo returns an empty multi-status response.

Expected results: list of all contact resources

Actual result: empty multistatus:
<D:multistatus xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:carddav"></D:multistatus>

Steps To Reproduce
curl -vX REPORT -H 'Depth: 1' -H 'Content-Type: application/xml; charset=utf8' --data @abq.xml -u xxxx:xxxx http://debian-test.lan/SOGo/dav/test/Contacts/personal/

---------- abq.xml ----------
&lt;?xml version='1.0' encoding='UTF-8' ?>&lt;CARD:addressbook-query xmlns=&quot;DAV:&quot; xmlns:CARD=&quot;urn:ietf:params:xml:ns:carddav&quot;>&lt;prop>&lt;getetag />&lt;/prop>&lt;CARD:filter />&lt;/CARD:addressbook-query>
-----------------------------
Additional Information

It also returns an empty response when I add filter components, but primarily I'm interested in all addresses (and not other data) in this collection, so I set an empty filter (because a CARDDAV:filter is required by the RFC; it doesn't work without CARDDAV:filter, too).

TagsNo tags attached.

Activities

davdroid

davdroid

2015-10-20 12:52

reporter   ~0009014

See also http://sabre.io/dav/building-a-carddav-client/, they use <addressbook-query> with an empty filter too.

johan.smits

johan.smits

2015-10-21 07:15

reporter   ~0009018

Please bump the priority, effects my users also.

ludovic

ludovic

2015-10-21 14:55

administrator   ~0009019

https://github.com/inverse-inc/sogo/commit/2c723070c69899055b456119f6e8f42c279d0c57

Issue History

Date Modified Username Field Change
2015-10-20 09:26 davdroid New Issue
2015-10-20 12:52 davdroid Note Added: 0009014
2015-10-21 07:15 johan.smits Note Added: 0009018
2015-10-21 14:55 ludovic Note Added: 0009019
2015-10-21 14:55 ludovic Status new => resolved
2015-10-21 14:55 ludovic Fixed in Version => 2.3.3
2015-10-21 14:55 ludovic Resolution open => fixed
2015-10-21 14:55 ludovic Assigned To => ludovic
2023-02-23 13:49 francis Steps to Reproduce Updated