I managed to set up my Exchange account in KMail2 now that there's a patch for bug 390798 (unable to login to EWS account). Email folders, receiving and sending, and read-only calendar works. But I cannot see any contacts in the Contacts folder. Observed behaviour: When I open the "Addressbook" tab, I can see the Contacts folder shown in the tree under my account. KMail2 is indicating that the folder is updating. (After a while, it shows that the updating is finished, but it is very slow.) When I right-click the folder and select Properties, I can see the count of contacts (Statistics: Content - 118 objects. Size - 0 B.) But no contacts are shown in the folder in KMail and I cannot access my contacts. Desired behaviour: The contact folder shows all the contacts that are on the EWS account. Note: My contacts are stored in the Contacts folder and not in a Global Address List (GAL) - I read on the old akonadi-EWS blog that GAL are not yet supported. This should not be the problem here. I am not sure how to obtain debug information for this bug - can someone advise me? Thanks!
Hi, Exchange contacts support works sort-of "by accident", but nevertheless it should work, unless Micro$oft messed around with something. I think for a start it will be worth to enable debug messages which show all requests sent to the Exchange server - you can do this by editing (or creating) the file ~/.config/QtProject/qtlogging.ini and adding the following two lines (skip the [Rules] section if it already exists): [Rules] org.kde.pim.ews.client.request.debug=true Note: the debug log may contain personal information you may want to filter out before you post it.
Created attachment 112459 [details] from system log
Dear Krzysztof! (Thanks by the way for having made this piece of software, I'm very happy about it.) I edited that line in the [Rules] section to state =true (before it was =false). In the system log, the entries that appear now are: touko 07 10:22:22 puolukka akonadi_ews_resource[4302]: org.kde.pim.ews.client.request: Starting SyncFolderItems request (folder: EwsId(1yxfcpf, qai4hn), state: 1ejz0gd touko 07 10:22:22 puolukka akonadi_ews_resource[4302]: org.kde.pim.ews.client.request: Got SyncFolderItems response (0 changes, last included: true, state: r7s0bd) Every time I right-click on the folder and "update", it gives two similar lines, the state from the last "response" is shown as the state of the next "request", the other information remains the same. I'm attaching the log for akonadi_ews_resource, starting from when I logged in to KDE and opened Kontact. Note, there are two EWS accounts but both are on the same server and have the same problem.
Looks like indeed there is some problem. I have tried adding some contacts into my Exchange Address Book. In the Akonadi Console I can see that the folder has 2 items, but I don't see the actual items. This would indicate that they are not fetched properly from the server. I'll have to look into this.
Thank you! Please let me know if you need more information from me (and what commands to run to get it).
Hello Christian. Thank you very much for your bug report. Is still issue still present within KDEPIM/Akonadi 18.12 on recent KDE Frameworks?
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!
Has this ever been fixed since it was reported back in 2018? I have the same behavior on Kubuntu 20.04 which ships with akonadi 19.12.3. I also tried on Manjaro Testing with akonadi 20.04.2 with the same results.
this problem still exists in 21.12.0, although EWS now runs smoother than before for calendar and email