Bug 230494

Summary: Journal entry displayed twice when editing the date
Product: [Applications] korganizer Reporter: Sabine Faure <sabine>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: VERIFIED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Sabine Faure 2010-03-12 21:16:17 UTC
Version:            (using Devel)
Compiler:          gcc 4.3.2 
OS:                Linux
Installed from:    Compiled sources

- Launch KOrg
- Click on 'New Journal' button
- Enter a title, today's date, a time and a description
- Click on 'Ok'
- Click on the 'Journal' button from the main toolbar
- The journal entry is displayed correctly in the journal view.
- Click on the 'Edit' button under the journal entry and change the today's date into tomorrow's date.
- Click on 'Ok'.

The journal entry is now displayed twice: once today and once tomorrow which does not make sense.

Moreover, if you quit KOrg and relaunch it then the journal entry is only displayed once for tomorrow as it should be.

Trunk, Svn Rev 1102444
Comment 1 Sergio Martins 2010-05-15 17:55:28 UTC
SVN commit 1127147 by smartins:


Fix duplicate incidences sometimes being displayed because Akonadi::Calendar does some hashing with the incidence's start date as a key,
but doesn't update the hash if someone edits the start date.

BUG: 230494



 M  +5 -2      calendar.cpp  
 M  +1 -0      calendar_p.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1127147
Comment 2 Sabine Faure 2010-05-18 18:06:48 UTC
It is corrected now.

The journal entry is correctly edited and displayed.

Trunk, Svn Rev 1128166