Bug 351682 - davmail calendar events not synching starting with 15.08
Summary: davmail calendar events not synching starting with 15.08
Status: CLOSED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: DAV Resource (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-24 09:01 UTC by Daniel Eklöf
Modified: 2015-09-20 19:07 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 15.08.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Eklöf 2015-08-24 09:01:13 UTC
I've been using davmail to connect to a corporate MS Exchange 2010 server. This has been working without any major issues.

However, after upgrading to plasma 5.3.95 with the new kf5-based PIM apps, I'm no longer able to see calendar events from davmail. I.e. this is a regression from *current* stable.

When I try to synchronize, davmail logs this (multiple times - one for each event?):

aug 24 10:57:47 john.doe davmail.sh[410]: 2015-08-24 10:57:47,499 WARN  [CaldavConnection-59348] davmail  - Item AAMkADZlOGVhZjk2LThkY2QtNDhkZS1iYWFhLTFhYWQ4MTM0OWQ5ZABGAAAAAAAZqsLuUP5cSaAaM9Gl75uFBwARo91ky-JkTIrYHN1noEz-AAAAbMrPAAARo91ky-JkTIrYHN1noEz-AAAAbPRAAAA%3D.EML not available: /users/john.doe@foo.com/calendar/AAMkADZlOGVhZjk2LThkY2QtNDhkZS1iYWFhLTFhYWQ4MTM0OWQ5ZABGAAAAAAAZqsLuUP5cSaAaM9Gl75uFBwARo91ky-JkTIrYHN1noEz-AAAAbMrPAAARo91ky-JkTIrYHN1noEz-AAAAbPRAAAA%3D.EML

I don't see any obvious errors in the akonadi debugger.
Comment 1 Daniel Eklöf 2015-08-26 04:37:24 UTC
Still present in 5.4.0.
Comment 2 Grégory Oestreicher 2015-08-29 12:24:51 UTC
Hi,

Which KDE Applications version are you using? Is it 15.08? I know it can get a bit confusing, but Plasma has its own release cycle and its version doesn't relate to the KDE PIM release.

Cheers,
Grégory
Comment 3 Daniel Eklöf 2015-08-29 12:47:55 UTC
Right, sorry. Yes it's 15.08.0.
Comment 4 Daniel Eklöf 2015-08-29 16:03:16 UTC
Looks like it's just the final '=' that gets encoded wrong (%3D):

Actual item name:
AAMkADZlOGVhZjk2LThkY2QtNDhkZS1iYWFhLTFhYWQ4MTM0OWQ5ZABGAAAAAAAZqsLuUP5cSaAaM9Gl75uFBwARo91ky-JkTIrYHN1noEz-AAAAbMrPAAARo91ky-JkTIrYHN1noEz-AAAAbPRKAAA=

What akonadi tries to fetch (from the davmail log):
AAMkADZlOGVhZjk2LThkY2QtNDhkZS1iYWFhLTFhYWQ4MTM0OWQ5ZABGAAAAAAAZqsLuUP5cSaAaM9Gl75uFBwARo91ky-JkTIrYHN1noEz-AAAAbMrPAAARo91ky-JkTIrYHN1noEz-AAAAbPRKAAA%3D
Comment 5 Grégory Oestreicher 2015-08-29 20:21:40 UTC
Yup, nicely spotted. It looks like the same issue as in #351652 and #351824. I think it's worth merging them.
Comment 6 Grégory Oestreicher 2015-08-29 20:22:07 UTC

*** This bug has been marked as a duplicate of bug 351652 ***
Comment 7 Grégory Oestreicher 2015-08-29 23:04:18 UTC
Reopening, looks like it's not a dup…
Comment 8 Grégory Oestreicher 2015-08-30 09:18:48 UTC
Git commit 82d18a069fb154e462f8b9e95c0294615ae58576 by Grégory Oestreicher.
Committed on 30/08/2015 at 09:17.
Pushed by goestreicher into branch 'Applications/15.08'.

Remove uses of deprecated KUrl::setEncodedPath as its behavior changed
Related: bug 351824
FIXED-IN: 15.08.1

M  +2    -2    resources/dav/common/davcollectionsfetchjob.cpp
M  +1    -1    resources/dav/common/davitemcreatejob.cpp
M  +1    -1    resources/dav/common/davitemmodifyjob.cpp
M  +1    -1    resources/dav/common/davitemsfetchjob.cpp
M  +1    -1    resources/dav/common/davitemslistjob.cpp
M  +1    -1    resources/dav/common/davprincipalhomesetsfetchjob.cpp
M  +1    -1    resources/dav/common/davprincipalsearchjob.cpp
M  +1    -1    resources/dav/resource/davfreebusyhandler.cpp

http://commits.kde.org/kdepim-runtime/82d18a069fb154e462f8b9e95c0294615ae58576