Bug 315941 - various changes change folder "numbers" breaking filter rules
Summary: various changes change folder "numbers" breaking filter rules
Status: RESOLVED NOT A BUG
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.10.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-01 09:33 UTC by Diggory Hardy
Modified: 2013-04-05 09:56 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 Diggory Hardy 2013-03-01 09:33:45 UTC
It appears to me that filter rules of the type "move to folder" use some "number" to identify the destination folder, and that these identifiers are liable to change.

Symptom: several times some action (migrating data to a different computer, upgrading, restoring data from backup) results in all "move to folder" rules either having the wrong target folder or no target folder.

Proposed solution: store the folder path instead of what I assume is some numeric ID in the rule configuration.

(Is my assumption that a simple numeric enumeration is used correct? It does not seem a robust solution.)

Reproducible: Sometimes
Comment 1 Laurent Montel 2013-03-01 11:37:30 UTC
No we can't do it.
But you can export filter which export with path and reimport it in new computer,  filter manager will try to find correct folder and adapt it.

Regards.
Comment 2 Diggory Hardy 2013-04-05 09:56:28 UTC
It's not moving to a new computer that's the problem, it's update problems or file corruption or one of any number of causes (I'm not sure exactly what, but as I said it's happened to me several times). Don't you agree that robustness is a very important thing in a mail client?