Bug 2404 - matcherrc updates upon account renaming
Summary: matcherrc updates upon account renaming
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Filtering (show other bugs)
Version: 3.7.10
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2011-04-15 18:44 UTC by Denis Laxalde
Modified: 2011-12-29 23:09 UTC (History)
0 users

See Also:


Attachments

Description Denis Laxalde 2011-04-15 18:44:35 UTC
Hi,

While investigating bug 2382, I noticed that updates of matcherrc was also weird. In particular, the following happened.
1. rename an account
 - account names in rules titles (i.e. the [#imap/account/folder] thing) are not updated in matcherrc
 - account names in rules or actions are updated
 - some processing rules (apparently the ones with an account/folder name in the action) are still working while some others are not
2. rename again the same account (actually, I went back to the original name):
 - all processing rules are deleted in matcherrc

Thanks.
Comment 1 users 2011-11-21 23:15:35 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-21 [pawel]	3.7.10cvs97

	* src/account.c
	* src/prefs_filtering.c
	* src/prefs_filtering.h
		Fix bug #2404 'matcherrc updates upon account renaming'
		Fix bug #2406 'some part of accountrc not updated upon
		account rename'
		Renaming account cause changing of it's root folder prefix
		from #<type>/<old_name> to #<type>/<new_name> so every
		path directing to it must be altered. Fix paths in account
		preferences, global processing and filtering rules, folder
		processing rules upon rename

Note You need to log in before you can comment on or make changes to this bug.