Bug 318966 - Not all owncloud contacts are shown in Kaddressbook
Summary: Not all owncloud contacts are shown in Kaddressbook
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: DAV Resource (show other bugs)
Version: 4.10
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2013-04-27 10:13 UTC by m.wege
Modified: 2018-10-27 02:14 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.10.4


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description m.wege 2013-04-27 10:13:06 UTC
I am using an owncloud-installation at owndrive.com. There I have two addressbooks which perfectly sync themselves to Android and Thunderbird. However in Kaddressbook only a fraction of the owncloud contacts is shown. Unfortunately I can not count the missing ones since neither owncloud nor Kaddressbook seems to count the addresses it shows with the current filter.

The .xsession-errors shows many of the following errors
akonadi_davgroupware_resource_18(6104)/akonadiserializer (addressee) Akonadi::SerializerPluginAddressee::deserialize: Empty addressee object! 

and

akonadi_nepomuk_feeder(6120) ItemQueue::processBatch: failed to fetch item or item without payload:  414930 

At the moment I can not determine a rule which could help to find the bug(s). I guess it would be helpful to have more debug output. If there is a way to compile it with more debug info I am willing to test this. I could also ask owndrive people if they are able to give access to their debug, if this could be helpful.
I put this as major, because in current condition the owncloud-syncing-feature is useless.





Reproducible: Always
Comment 1 m.wege 2013-04-28 21:16:36 UTC
I just took a closer look at the contacts which are not synced and came closer to the problem. The problem seems to be related to the size of the contacts which is the problem. I noticed that only a relative few of the contacts which are still shown in Kaddressbook have a contact photo. So I took a closer look and discovered that those have a contact photo in a very small resolution.
I then made a few tests. Created a contact within in Owncloud with just a name. This is perfectly synced to Kaddressbook. Then I added a large picture as a contact photo from within KDE and from Owncloud. After syncing the contact is not shown in Kadressbook anymore, but the contact still is in Owncloud (with the picture).
After removing the picture from within Owncloud the contacts reappear, but only after restarting Akonadi. Just resyncing does not help. This procedure also helps to make existing contacts reappear.
I would like to empathize that I believe it is the size of the contact and not the fact that there is a contact photo which seems to cause the problem. Unfortunately I could not find where Akonadi caches the contacts which might have given some indication of the size problem. 

I hope this information helps to find the cause of the bug.
Comment 2 Grégory Oestreicher 2013-05-08 20:09:02 UTC
Thanks Mark for your work. Could you explain what you mean by 'large picture'? Are you talking about 500kB, 1MB, 5MB? I'd like to test this myself and try to pinpoint it.
Comment 3 m.wege 2013-05-09 07:02:09 UTC
(In reply to comment #2)
> Thanks Mark for your work. Could you explain what you mean by 'large
> picture'? Are you talking about 500kB, 1MB, 5MB? I'd like to test this
> myself and try to pinpoint it.
Since they are not synced to KDE it is hard to tell, but if you tell me where KDE stores the elements synced from Owncloud I can tell you the minimum size that works.
Comment 4 Pavel 2013-05-09 07:19:44 UTC
I run my own owncloud, too. Version 5.0.5 (latest).
I also run KDE 4.10.3. owncloud syncs to my Android phone alright.
I don't see any contacs at all.
If I click "Contacs"'s Folder properties it says:
"Content: 128 objects" (it is correct, 128 is the exact amount of contacts I have in owncloud)
"Size: 0 B"
It was working for me before (but I can't say which KDE version and which owncloud).
Hard to tell if it's this bug or not. I have those messages in .xsession-errors, too, though:

akonadi_nepomuk_feeder(3703) ItemQueue::indexBatch: failed to fetch item or item without payload:  9596
Comment 5 auxsvr 2013-05-16 05:53:47 UTC
In my case (openSUSE 12.3, KDE 4.10.3), no contacts appear, the resource icon turned into a brown book, and multiple messages

akonadiserializer (addressee) Akonadi::SerializerPluginAddressee::deserialize: Empty addressee object!

appear when the resource loads. When I upgraded from 4.10.2 to 4.10.3, all contacts were visible for some days.
Comment 6 Sven Klomp 2013-05-18 10:07:36 UTC
This might be somehow related to this bug?
https://bugs.kde.org/show_bug.cgi?id=316625
Comment 7 auxsvr 2013-05-31 15:18:58 UTC
All of a sudden, all contacts appeared today! Also, few have corrupted content in some fields. Go figure.
Comment 8 Grégory Oestreicher 2013-06-01 03:50:08 UTC
If I read the symptoms correctly then this has been fixed in 4.10.4. Feel free to reopen if this still happens for you.
Comment 9 m.wege 2013-06-02 14:58:47 UTC
For me many more contacts appeared after a recent update in Kubuntu. But still not all contacts appear in KDE which appear perfectly in Owncloud and Android. At the moment I have no indication which is the criteria for a contact not appearing. 
But I noticed also another bug to reappear:
X-SPOUSESNAME and other fields appears as "own field".
I would help debugging, if I would be giving more information on how to debug, 

I have reopened the bug, but I am not sure if I should reopen a new one instead.
Comment 10 Grégory Oestreicher 2014-09-05 20:43:09 UTC
Is this still a bug?
Comment 11 m.wege 2014-09-05 20:52:57 UTC
I need to check. I have stopped using Kaddressbook because of these problems. A few months ago they still existed. I wont be able to tell instantly, I will just notice when a contact is missing. I have over 1000 contacts, which makes it a little difficult to count and compare since neither Kaddressbook nor Owncloud have a simple counter.
Comment 12 Andrew Crouthamel 2018-09-25 03:35:24 UTC
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 set the bug status 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!
Comment 13 Andrew Crouthamel 2018-10-27 02:14:33 UTC
Dear Bug Submitter,

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!