tag 391250 + patch
thanks

> >   Error while Generating message list.
> 
> >   Error executing search expression: Unknown type in parse tree: 138144472:
> >   (and (match-all (not (system-flag "junk")))
> >     )
> 
> [...]
> 
> > The two filters I have set up are:
> 
> >   'x-spam-bars' contains '+++++' -> set status 'junk'
> 
> >   'Xref' contains 'gmane.spam.detected' AND 'Newsgroups' starts with 
> > 'gmane.' -> Delete
> 
> Does this imply that the error is a result of your filters?
> 
> Does this error happen if you set up your evolution config from scratch
> (moving .evolution aside)?  Does it happen when upgrading from versions of
> evolution *other* than the old version in experimental?

I can't reproduce the bug if I set up evolution from scratch. However
the attached patch (it's the final hunk from the patch at
<http://bugzilla.gnome.org/show_bug.cgi?id=360237#c10>) has solved the
problem for me.

-- 
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078
diff -Nur evolution-2.8.1/widgets/misc/e-filter-bar.c evolution-2.8.1.new/widgets/misc/e-filter-bar.c
--- evolution-2.8.1/widgets/misc/e-filter-bar.c	2006-09-30 06:24:50.000000000 +0100
+++ evolution-2.8.1.new/widgets/misc/e-filter-bar.c	2006-10-11 09:46:04.000000000 +0100
@@ -770,7 +770,9 @@
 						gtk_widget_modify_text (((ESearchBar *)efb)->entry, GTK_STATE_NORMAL, NULL);		
 						gtk_widget_modify_base (((ESearchBar *)efb)->icon_entry, GTK_STATE_NORMAL, NULL);
 						e_search_bar_paint (esb);
-						efb->current_query = NULL;
+						efb->current_query = (FilterRule *)efb->option_rules->pdata[item_id - efb->option_base];
+						if (efb->config && efb->current_query)
+							efb->config (efb, efb->current_query, item_id, "", efb->config_data);						
 					}
 					
 					xmlFree (text);

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to