After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 750560 - EFilterInput is storing multiple values instead of one
EFilterInput is storing multiple values instead of one
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
3.16.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
: 761384 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2015-06-08 12:14 UTC by Milan Crha
Modified: 2016-02-05 14:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Milan Crha 2015-06-08 12:14:46 UTC
Moving this from a downstream bug reports:
https://bugzilla.redhat.com/show_bug.cgi?id=1229230


Description of problem:
=======================
Evolution slow down or hang after some editing of message rules.
The resulting message rules file has a lot of duplicate lines.

Version-Release:
===============
evolution-3.16.2.1-2.fc22.x86_64

How reproducible:
=================
I'm not really sure. With my rules just doing a few mods here and there seems to make it happen.
Comment 1 Milan Crha 2015-06-08 12:22:51 UTC
This is a regression from the changes in bug #550796, the string values for rules like: [Subject] [contains] [text]
are stored multiple times now, instead of only once for the simple entry input. The below change doesn't correct already saved rules, that's required to be done by the user manually, by editing the ~/.config/evolution/mail/filters.xml, eventually searches.xml and vfolders.xml.
Comment 2 Milan Crha 2015-06-08 12:28:16 UTC
Created commit 21b1070 in evo master (3.17.3+)
Created commit 76d19b4 in evo gnome-3-16 (3.16.4+)
Comment 3 ReD 2015-06-08 17:02:57 UTC
To cleanup filters.xml quickly:

uniq ~/.config/evolution/mail/filters.xml > uniq.tmpfile
mv uniq.tmpfile ~/.config/evolution/mail/filters.xml
Comment 4 Milan Crha 2016-02-05 14:39:09 UTC
*** Bug 761384 has been marked as a duplicate of this bug. ***