Bug 277365

Summary: Error during executing query "UPDATE PimItemTable SET atime = :0"
Product: [Frameworks and Libraries] Akonadi Reporter: Frédéric COIFFIER <frederic.coiffier>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Frédéric COIFFIER 2011-07-08 13:29:11 UTC
Version:           unspecified (using Devel) 
OS:                Linux

I'm using last git version of akonadi and kdepim (2011-07-08). 
When I launch Akonadi with akonadictl start in a Konsole and I use KMail, I get many message like :

Error during executing query "UPDATE PimItemTable SET atime = :0 WHERE ( PimItemTable.remoteId = ( :1 ) AND CollectionTable.resourceId = :2 AND ( PimItemTable.collectionId = CollectionTable.id ) )" :  " Parameter count mismatch" 
Unable to update item access time 
Error during executing query "UPDATE PimItemTable SET atime = :0 WHERE ( PimItemTable.remoteId = ( :1 ) AND CollectionTable.resourceId = :2 AND ( PimItemTable.collectionId = CollectionTable.id ) )" :  " Parameter count mismatch" 
Unable to update item access time 
Error during executing query "UPDATE PimItemTable SET atime = :0 WHERE ( PimItemTable.remoteId = ( :1 ) AND CollectionTable.resourceId = :2 AND ( PimItemTable.collectionId = CollectionTable.id ) )" :  " Parameter count mismatch" 

Reproducible: Always

Steps to Reproduce:
1. Launch akonadictl start
2. Launch kmail


Expected Results:  
No error should be displayed.
Comment 1 Christophe Marin 2011-07-13 10:46:23 UTC
Cannot reproduce with master.

just to be sure, what does akonadictl --version returns ?

What is kmail doing when you see this message ?
Comment 2 Frédéric COIFFIER 2011-07-20 06:57:05 UTC
I can't reproduce it with Akonadi 1.6.0 and KDEPIM 4.7 RC2.