Bug 2505

Summary: tagsdb becomes polluted with old folder entries
Product: Claws Mail (GTK 2) Reporter: Pierre Fortin <pf>
Component: FoldersAssignee: users
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: P3    
Version: 3.7.10   
Hardware: PC   
OS: Linux   

Description Pierre Fortin 2011-09-21 15:26:57 UTC
Created a folder, renamed it and deleted it.
~/.claws-mail/tagsdb/<new_folder> gets created, then renamed; but when the folder is deleted, tagsdb does not reflect the deletion.

After more testing, the problem is more correctly stated as:

Test case #1:
create a new folder
rename it
delete it
no entry in tagsdb

Test case #2:
create a new folder
rename it
restart CM
tagsdb contains renamed folder

Test case #2:
create a new folder
restart CM
rename it
restart CM
tagsdb contains BOTH created-folder and renamed-folder

Anytime a folder is deleted, CM does not delete the tagsdb entry thereby allowing it to become more polluted over time.
Comment 1 users 2011-11-26 14:20:46 UTC
Changes related to this bug have been committed.
Please check latest CVS and update the bug accordingly.
You can also get the patch from:
http://www.colino.net/claws-mail/

2011-11-26 [pawel]	3.7.10cvs105

	* src/folder.c
		Fix bug #2505 'tagsdb becomes polluted with old folder entries'