[Calendar and Contacts Server] #371: better parsing of returned properties would help
#371: better parsing of returned properties would help ----------------------------+----------------------------------------------- Reporter: douglm@… | Owner: cdaboo@… Type: Defect | Status: new Priority: 5: Not set | Milestone: Component: CalDAV Tester | Severity: Other Keywords: | ----------------------------+----------------------------------------------- Tests fail with messages like: {{{ Failed Verifier: propfindItems Items not returned in report (OK) for /ucaldav/user/user01/Inbox/: ('urn:ietf:params:xml:ns:caldavschedule-default-calendar-URL', '<href xmlns="DAV:">/ucaldav/user/user01/calendar</href>') Unexpected items returned in report (OK) for /ucaldav/user/user01/Inbox/: (u'urn:ietf:params:xml:ns:caldavschedule- default-calendar-URL', u'<href>/ucaldav/user/user01/calendar/</href>') }}} because of unexpected formats to the response, e.g. {{{ <?xml version="1.0" encoding="UTF-8" ?> <multistatus xmlns="DAV:" xmlns:ns1="urn:ietf:params:xml:ns:caldav" xmlns:ns2="http://www.w3.org/2002/12/cal/ical#"> <response> <href>/ucaldav/user/user01/Inbox/</href> <propstat> <prop> <ns1:schedule-default-calendar-URL> <href>/ucaldav/user/user01/calendar/</href> </ns1:schedule-default-calendar-URL> </prop> <status>HTTP/1.1 200 ok</status> </propstat> </response> </multistatus> }}} -- Ticket URL: <http://trac.calendarserver.org/ticket/371> Calendar and Contacts Server </> HTTP/WebDAV/CalDAV Server
#371: better parsing of returned properties would help ----------------------------+----------------------------------------------- Reporter: douglm@… | Owner: cdaboo@… Type: Defect | Status: new Priority: 5: Not set | Milestone: Component: CalDAV Tester | Severity: Other Keywords: | ----------------------------+----------------------------------------------- Comment(by douglm@…): Alternatively using propfindValues as the verifier might be enough. In CalDAV/implicitdefaultcalendar.xml, suite 1, test 1 I changed {{{ <callback>propfindItems</callback> <arg> <name>okprops</name> <value>urn:ietf:params:xml:ns:caldavschedule-default-calendar-URL$<href xmlns="DAV:">$calendarpath1:</href></value> </arg> }}} to {{{ <callback>propfindValues</callback> <arg> <name>okprops</name> <value><![CDATA[schedule- default-calendar-URL.*<href.*]]>$calendarpath1:</value> </arg> }}} -- Ticket URL: <http://trac.calendarserver.org/ticket/371#comment:1> Calendar and Contacts Server </> HTTP/WebDAV/CalDAV Server
#371: better parsing of returned properties would help ----------------------------+----------------------------------------------- Reporter: douglm@… | Owner: cdaboo@… Type: Defect | Status: new Priority: 5: Not set | Milestone: Component: CalDAV Tester | Severity: Other Keywords: | Radar: ----------------------------+----------------------------------------------- -- Ticket URL: <http://trac.calendarserver.org/ticket/371#comment:2> Calendar and Contacts Server </> HTTP/WebDAV/CalDAV Server
#371: better parsing of returned properties would help ----------------------------+----------------------------------------------- Reporter: douglm@… | Owner: cdaboo@… Type: Defect | Status: new Priority: 3: Important | Milestone: Component: CalDAV Tester | Severity: Other Keywords: | Radar: ----------------------------+----------------------------------------------- Changes (by wsanchez@…): * priority: 5: Not set => 3: Important -- Ticket URL: <http://trac.calendarserver.org/ticket/371#comment:3> Calendar and Contacts Server </> HTTP/WebDAV/CalDAV Server
participants (1)
-
Calendar and Contacts Server