GNOME Bugzilla – Bug 111873
Applying "delete" rule to folder has odd result.
Last modified: 2006-06-18 05:11:32 UTC
I have a Custom filter for matching items older than 10 days, and a rule that uses it to delete the items. I normally use it for purging headers to keep the cache size down. If I try to run the rule on the "pan.sent" folder, the messages disappear from the view, but aren't deleted, so they return when you next start Pan. Either rules should not work on Folders, or they should "do the right thing". The entry in the filters.xml file is: <filter type="and" name="Old Articles" visible="t"> <date min_days_old="10"/> </filter> and in the rules.xml file is: <rule name="Purge" filter_name="Old Articles" hits="34534" misses="41519"> <discard/> </rule>
Fixed in CVS: http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan/pan&command=DIFF_FRAMESET&file=article-actions.h&rev1=1.17&rev2=1.18&root=/cvs/gnome http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan/pan&command=DIFF_FRAMESET&file=article-actions.c&rev1=1.58&rev2=1.59&root=/cvs/gnome http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan/pan/rules&command=DIFF_FRAMESET&file=rule-action.c&rev1=1.17&rev2=1.18&root=/cvs/gnome http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan&command=DIFF_FRAMESET&file=ANNOUNCE.html&rev1=1.171&rev2=1.172&root=/cvs/gnome
*** Bug 117724 has been marked as a duplicate of this bug. ***