Bug 229294 - Dissociate from recurrence functionality does not work
Summary: Dissociate from recurrence functionality does not work
Status: VERIFIED WORKSFORME
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-03 20:25 UTC by Sabine Faure
Modified: 2010-05-14 19:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sabine Faure 2010-03-03 20:25:00 UTC
Version:            (using Devel)
Compiler:          gcc 4.3.2 
OS:                Linux
Installed from:    Compiled sources

- Launch KOrg
- Click on 'New Event' and create a weekly recurring event
- In the agenda view right click on the recurring event and select 'Dissociate from recurrence...'
- A 'KOrganizer Confirmation' dialogue appears with the following message: 'Do you want to dissociate the occurrence at Day Date Month Year from the recurrence or also dissociate future ones?
- Click on 'Only Dissociate this One'

A pop up dialogue saying: 'Dissociating the occurence failed' appears whereas this should work.
I guess this feature is not yet implemented.

Note: there is a fail message too if you click on 'Also Dissociate Future ones' instead.

Trunk, Svn Rev 1096391
Comment 1 Sabine Faure 2010-03-03 20:31:38 UTC
My mistake, it was Rev 1098377
Comment 2 Laurent Montel 2010-03-04 11:19:58 UTC
I confirm it.
Will look at soon
(it's a bug in trunk in 4.4 work fine)
Comment 3 Laurent Montel 2010-03-04 11:25:44 UTC
Normal that it doesn't work :)
=> it's disable in code.
Ok will look at it

KCal::Incidence::Ptr Calendar::dissociateOccurrence( const Item &incidence,
                                           const QDate &date,
                                           const KDateTime::Spec &spec,
                                           bool single )
{
#ifdef AKONADI_PORT_DISABLED
Comment 4 Laurent Montel 2010-03-04 11:56:26 UTC
SVN commit 1098795 by mlaurent:

Reactivate dissociate recurente
CCBUG: 229294


 M  +10 -10    calendar.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1098795
Comment 5 Laurent Montel 2010-03-04 11:56:49 UTC
Fixed in svn #1098795.
Comment 6 Sabine Faure 2010-03-04 21:06:53 UTC
It is corrected now.

When you click on 'Only Dissociate This One' it dissociates this event from the rest of the recurring ones correctly.

But when you click on 'Also Dissociate Future ones' a pop up dialogue appears saying: 'Unable to save changes for incidence Event 'NAMEOFTHEEVENT': Unknown error. (No item was modified elsewhere, aborting STORE). After this it is impossible to create new items since the calendar combo box is unavailable (greyed). See bug#228696 for other steps leading to the same error message. 

Because of this I am reopening this bug.

Trunk, Svn Rev 1098884
Comment 7 Laurent Montel 2010-03-05 09:52:24 UTC
Ok I confirm it.
I saw some code commented. Will look at it.
Comment 8 Sergio Martins 2010-05-13 18:57:46 UTC
Working.
Comment 9 Sabine Faure 2010-05-14 19:49:17 UTC
It is corrected now.

It is possible to dissociate one or all the future recurring events now.

Trunk, Svn Rev 1126573