Bug 237978

Summary: Imap resource does not see new email
Product: [Frameworks and Libraries] Akonadi Reporter: Sabine Faure <sabine>
Component: IMAP resourceAssignee: kdepim bugs <kdepim-bugs>
Status: VERIFIED FIXED    
Severity: normal CC: kdepim-bugs, lfranchi, vkrause
Priority: HI Keywords: akonadi-ports-regression
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 223438    

Description Sabine Faure 2010-05-17 22:12:06 UTC
Version:            (using Devel)
Compiler:          gcc 4.3.2 
OS:                Linux
Installed from:    Compiled sources

- Launch Kontact
- Go to Kmail
- Click on 'New Message' button
- Fill in the recipient (yourself using an Imap account), subject and enter a few words in the text editor
- Click on 'Send' button
- The email should be moved to the outbox and then saved in the sent-mail folder
- Check your Imap resource 

Nothing happens whereas the email should have arrived in the Imap inbox folder.

Trunk, Svn Rev 1127799
Comment 1 Sabine Faure 2010-05-17 22:16:12 UTC
Note from David:
the imap resource says it's not connected, but I see nothing that makes it switch to that state:

[/d/kde/inst/kde-trunk/bin/akonadi_imap_resource] akonadi_imap_resource_5(3192)/libakonadi Akonadi::PluginRegistry::PluginRegistry: ItemSerializerPluginLoader:  found 10 plugins.
[/d/kde/inst/kde-trunk/bin/akonadi_imap_resource] akonadi_imap_resource_5(3192)/libakonadi Akonadi::JobPrivate::handleResponse: Akonadi::ItemFetchJob(0x24a4a00) "OK UID FETCH completed
[/d/kde/inst/kde-trunk/bin/akonadi_imap_resource] "
[/d/kde/inst/kde-trunk/bin/akonadi_imap_resource] akonadi_imap_resource_5(3192)/libakonadi Akonadi::JobPrivate::delayedEmitResult: Akonadi::ItemFetchJob(0x24a4a00) emitResult
[/d/kde/inst/kde-trunk/bin/akonadi_imap_resource] akonadi_imap_resource_5(3192) ImapResource::itemAdded: Defering this request. Probably there is no connection.
[/d/kde/inst/kde-trunk/bin/akonadi_imap_resource] akonadi_imap_resource_5(3192)/libakonadi Akonadi::ResourceScheduler::executeNext: ======================================== current task: 2 ChangeReplay collection -4
[/d/kde/inst/kde-trunk/bin/akonadi_imap_resource] akonadi_imap_resource_5(3192) ImapResource::itemAdded: Defering this request. Probably there is no connection.
[/d/kde/inst/kde-trunk/bin/akonadi_imap_resource] akonadi_imap_resource_5(3192)/libakonadi Akonadi::ResourceScheduler::executeNext: ======================================== current task: 2 ChangeReplay collection -4
[/d/kde/inst/kde-trunk/bin/akonadi_imap_resource] akonadi_imap_resource_5(3192) ImapResource::itemAdded: Defering this request. Probably there is no connection.

and then it keeps saying 'Defering' to everything...
Comment 2 Thomas McGuire 2010-05-20 18:26:57 UTC
Moving the bug to the IMAP resource.
I wonder what makes the resource switch to the "defering" state.
Comment 3 Leo Franchi 2010-06-30 14:34:13 UTC
this hasn't happened to me since till, volker, and ervin's recent work on the IMAP resource. closing for now, re-open if the problem persists.
Comment 4 Sabine Faure 2010-07-07 23:11:11 UTC
Indeed it is corrected now.

The email is correctly sent into the Imap inbox folder.

Trunk, Svn Rev 1147197