Skip to content
Snippets Groups Projects
Commit 35f58e3f authored by magicfelix's avatar magicfelix
Browse files

[DAV] Add missing unknown element handling

parent b9139f6a
No related branches found
No related tags found
1 merge request!1147Implement read-only CalDAV and CardDAV
......@@ -297,8 +297,11 @@ class QueryBase:
for response in self.responses:
base.current_xml = response.propstats[200]
for child in self.children.values():
child.process(stage, base, response)
for name, child in self.children.items():
if child is not None:
child.process(stage, base, response)
elif stage == "xml":
response.handle_unknown(name)
base.current_xml = previous_xml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment