Bug 235127 - Deleted calendars still displayed in Calendar Account tab
Summary: Deleted calendars still displayed in Calendar Account tab
Status: VERIFIED FIXED
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-04-23 01:12 UTC by Sabine Faure
Modified: 2010-05-10 00:14 UTC (History)
1 user (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-04-23 01:12:03 UTC
Version:            (using Devel)
Compiler:          gcc 4.3.2 
OS:                Linux
Installed from:    Compiled sources

- Launch KOrg
- Right click in the resources/folders view and select New Calendar...
- Select 'Ical Calendar File' and click on 'Ok'
- Click on the floppy disk to select a location for the file and a name for it (ex Icaltobedeleted1)
- Click on 'ok'
- Redo the same to create a second calendar (ex Icaltobedeleted2)
- The two calendars should be displayed correcty in the resources/folders view
- Go to Settings menu/Configure KOrganizer...
- Click on the 'General' icon and go to the 'Calendar Account' tab
- Check that the new calendars that you have created are listed correctly in the table
- Click on 'ok'
- Right click on the calendars you've created and delete them from the folders/resources view
- Go back to the Calendar Account tab
- Use the search field to find the calendars that you've deleted from the folders/resources view

They are still there. None of the calendars gets deleted in the Calendar Account table atm eventhough they have been deleted from the folders/resources view. 

So over time the list of calendars becomes pretty big.

Trunk, Svn Rev 1117463
Comment 1 Laurent Montel 2010-04-25 13:07:14 UTC
SVN commit 1118599 by mlaurent:

Look at bug #235127
Account is not removed when we remove calendar.
Not activate for the moment because I don't know if we must remove folder or account
CCBUG: 235127


 M  +6 -0      akonadicollectionview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1118599
Comment 2 Laurent Montel 2010-04-25 13:10:47 UTC
Info:
When we delete a calendar in folder we don't remove account.
In setting we can remove account.
But perhaps when we have just a collection and remove it we can remove associate account. Don't know
Comment 3 Sergio Martins 2010-05-08 01:39:22 UTC
SVN commit 1124158 by smartins:

If it's a toplevel collection, delete the agent, and not the collection/contents.

BUG: 235127


 M  +13 -7     akonadicollectionview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1124158
Comment 4 Sabine Faure 2010-05-10 00:14:00 UTC
It is corrected now.

The calendars that are deleted from the folders/resources view are deleted from the Calendar Account tab (Configure dialogue - General) as well.

Trunk, Svn Rev 1124682