<table><tr><td style="">dfaure added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D8843">View Revision</a></tr></table><br /><div><div><p>Here's some debug output to understand what's going on:</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">KDAV::DavItemsListJob::davJobFinished: D8843 difference: href="/calendars/dfaure@kdab.com/02af0002-0181-4d55-88a7-db543be67d83/dd261076-60eb-40c2-b6fe-a245f69eac66.ics"
old code QUrl("https://caldav.kdab.com/calendars/dfaure@kdab.com/02af0002-0181-4d55-88a7-db543be67d83/dd261076-60eb-40c2-b6fe-a245f69eac66.ics")
DavUrl: [ CalDav QUrl("https://dfaure%40kdab.com@caldav.kdab.com/calendars/dfaure@kdab.com/02af0002-0181-4d55-88a7-db543be67d83/dc3eb14d-fb62-4ddc-b7c5-9d8b3eb5fc02.ics") ]
new code QUrl("/calendars/dfaure@kdab.com/02af0002-0181-4d55-88a7-db543be67d83/dd261076-60eb-40c2-b6fe-a245f69eac66.ics")
DavUrl: [ CalDav QUrl("//dfaure%40kdab.com@/calendars/dfaure@kdab.com/02af0002-0181-4d55-88a7-db543be67d83/901926d0-3732-4e0b-87d1-800f6db33c29.ics") ]</pre></div>
<p>And when enabling the new code (i.e. this patch), here's what I get later on:</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">KDAV::DavItemsFetchJob::start <calendar-multiget xmlns="urn:ietf:params:xml:ns:caldav">
<prop xmlns="DAV:">
<getetag xmlns="DAV:"/>
<calendar-data xmlns="urn:ietf:params:xml:ns:caldav"/>
</prop>
<href xmlns="DAV:">file:///calendars/dfaure@kdab.com/02af0002-0181-4d55-88a7-db543be67d83/dd261076-60eb-40c2-b6fe-a245f69eac66.ics</href>
[...]
DavGroupwareResource::onMultigetFinished: Empty item returned. "/calendars/dfaure@kdab.com/02af0002-0181-4d55-88a7-db543be67d83/66182bae-53b2-11e8-8fd1-dd97c1cc0e20.ics"</pre></div>
<p>The QUrl in the "new code" case looks very broken to me, with a username and no host and no scheme, and sending a file: URL looks very wrong too.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R490 KDAV Library</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D8843">https://phabricator.kde.org/D8843</a></div></div><br /><div><strong>To: </strong>rhaferkamp, KDE PIM, knauss<br /><strong>Cc: </strong>equaeghe, bbreinbauer, mlaurent, dfaure, vkrause, winterz, knauss, KDE PIM, dvasin, rodsevich, dvratil<br /></div>