Bug 122116

Summary: Entries stored into imap resource are missing
Product: [Unmaintained] kab3 Reporter: Juha Tuomala <tuju>
Component: generalAssignee: Tobias Koenig <tokoe>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: gerd
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Juha Tuomala 2006-02-16 19:00:47 UTC
Version:            (using KDE KDE 3.5.1)
Installed from:    Fedora RPMs

I once activated imap resource and somehow copied my contacts to it. If I look into Kmail contacts folder, I can see all my contacts one per message with random string in subject.

For few hours it worked fine, but now it fails. If I check the imap resource from kaddressbook (and disable file resource) it shows none or posbbily one or two entries in addressbook. But they still exist in imap folder (~300 of them).

If I go to Contacts folder with kmail and select some messages containing these vcards, see it in kmail's preview and then see again kaddressbook (possibly tapping the 'clear filter button') - that particular contact becomes visible in kaddressbook, addition to those visible before this selection in kmail.

So, I tried to delete all kaddressbook's rc files, cache, file resource etc. But if I start it again, the imap resource is still there. Where it's stored? Into kmailrc? I deleted some stuff there also with no luck.

Funny thing is, that with another machine, with different home dir, with same kde+kmail+kaddressbook versions - I can see all my contacts in kaddressbook.

This one with problem has very old home which has seen multiple kde versions. Could this be caused with incompatible configs? Probably not since it worked for while and then started causing these symptoms.

How could I debug this? Resetting the configuration seemed to be good idea but failed. Any other ways? Some cryptic dcop spell to see what kmail has to offer in contacts folder? Some debugging switch for kaddressbook to make it bit more verbose to stdout?
Comment 1 Juha Tuomala 2006-02-16 19:02:25 UTC
I'm using FC4 KDE 3.5.1.
Server is CentOS + Dovecot
Comment 2 Andreas Petzold 2006-03-16 13:29:07 UTC
I see almost the same problem with kde-redhat kde 3.5.1 packages for fc4. When I move a contact into a imap resource it will be visible as long as I have not closed kontact/kaddressbook. After a fresh start the contact is missing in the list shown by kaddressbook, but when I look into the Contacts folder on the imap server the contacts are actually looking ok, but they are not displayed.

Server is RHEL3AS and UW-imap.
Comment 3 Gerd v. Egidy 2006-04-21 02:14:35 UTC
I can confirm this problem with KDE 3.5.2 and SUSE packages. I'm using cyrus imapd 2.2.13.
Comment 4 Bernhard E. Reiter 2006-04-21 20:05:35 UTC
Just an idea: I only now the imap resource that needs a server that 
can do Kolab2 compatible annotations. http://wiki.kolab.org/index.php/IMAP_Annotations
Comment 5 Gerd v. Egidy 2006-04-21 23:42:04 UTC
at least my cyrus (I don't know about the other people who reported this bug) is patched with kolab-imapd-vendor-annotations.patch and allows to set the kolab annotations.

I can successfully use the server with the Konsec Konnektor. The problem is NOT in any way related to Konnektor/Kaddressbook interaction as it occurs too if I use it with different accounts that were just used with Kaddressbook.
Comment 6 Gerd v. Egidy 2006-04-28 01:56:21 UTC
I found what is causing this bug: I used a regular imap account but it seems it is only supposed to work with disconnected imap / cachedimap. Thanks to Martin Konold for telling me about this.

I don't want to store all my mails on disconnected imap. So it makes a resolution to bug #82684 more needed.

So the configuration interface should be changed to disallow the use of regular imap for groupware folders.

Comment 7 Juha Tuomala 2006-10-18 22:10:06 UTC
I don't actually care where and how my emails are stored as long as it behaves as I want (pretty obvious opinion).

But 99,99% of time I work online and based on bugzilla dimap entries, it looks like it is not ready for production use. I use KDE for work and seeing reports where stuff disappears permanently doesn't sound good.

When not knowing the actual reasons why it works only with dimap, I still would like to see this fixed to work with regular imap with regular server.

Could somebody shed some light to the internals and dimap dependency?
Comment 8 Tobias Koenig 2007-02-13 19:43:40 UTC
Hi,

working with online IMAP would make it really slow, because you have to load/store every
contact whenever you want to access it.

Ciao,
Tobias
Comment 9 Juha Tuomala 2007-02-13 20:02:28 UTC
With the current status of dIMAP, i don't see myself loosing valuable data with it. We use IMAP for emails and cache it, there is no performance problem. (my server is in another country and it works great, even with big emails)

Neither I don't see why this had to be closed to prevent people from voting for it.
Comment 10 Tobias Koenig 2009-08-05 16:28:57 UTC
The development of the old KAddressBook will be discontinued for KDE 4.4.
Since the new application has the same name, but a completly new code base we close all bug reports against the old version and ask the submitters to resend there reports against the new product.