Summary: | Crash when a filter moves a mail to unexisting folder | ||
---|---|---|---|
Product: | [Applications] kmail | Reporter: | Iván Sánchez Ortega <ivansanchez> |
Component: | filtering | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Iván Sánchez Ortega
2003-02-20 22:09:38 UTC
Hm, with current cvs, kmail doesn't crash, but it does move the mail to the wrong folder, drafts, to be precise, which is guess is the first non-system local folder here. I'm changing this to normal priority, since it isn't a crash anymore, but I'm hesitant to close it, as moving to a "random" folder does not sound like correct behavior to me either. With recent CVS (20040220), the behaviour is the same. Maybe, when deleting a folder, should a pop-up appear saying "Heya, buddy, you deleted a folder that has an associated filter, so check your filters!". To give some more details: Deleting a folder in KMail while a filter action points to it invalidates the folder in the filter action. The problem is, if you open the filter dialog in that moment, you see the drafts folder preselected as target for the filter action. If you cancel the dialog, nothing bad happens. After a restart, KMail has that filter action reset to using transfering into no folder. Another KMail restart or OK in the filter dialog even corrcetly removes the filter action. However if you leave the filter dialog with OK while the drafts folder is set (which is wrong), the drafts folder is really associated with the filter action. Afterwards your messages go into the drafts folder and you wonder why. That means, deleting a folder and applying filter rules which have this folder as target doesn't crash (as mentioned in the comments before) and it doesn't move your message anywhere as long as you don't acknowledge the filter dialog before KMail is restarted. Fixed in KMail 1.7 / KDE PIM 3.3 / CVS HEAD. Kmail doesn't crash anymore. It will mark your concerned filter actions, but they won't be applied as long as you won't have adjusted them. |