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 457523 - "Last 5 Days' Messages" and "Last Messages" in quick search don't work
"Last 5 Days' Messages" and "Last Messages" in quick search don't work
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.12.x
Other All
: Normal major
: ---
Assigned To: Johnny Jacob
Evolution QA team
: 456016 457906 458821 461609 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-07-16 23:10 UTC by John Cudd
Modified: 2013-09-13 00:56 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
Reverting patch for #364731 (784 bytes, patch)
2007-07-19 10:04 UTC, Johnny Jacob
committed Details | Review
Use (- n) in sexp for negative values (899 bytes, patch)
2007-07-19 10:05 UTC, Johnny Jacob
committed Details | Review

Description John Cudd 2007-07-16 23:10:07 UTC
Version: 2.12.x

While running Evolution I encountered an error when trying change the message view to "Last 5 Days' Messages" in the "Show:" dropdown menu. 

I am running Evolution 2.11.5 on Ubuntu 7.10 Tribe 2. Should I report this bug to Ubuntu on Launchpad as well?? Thanks for a great application!!

Here is the error I get.

Cannot parse search expression: Unexpected token encountered: 45:
(and (match-all (and (not (system-flag "deleted")) (not (system-flag "junk"))))
 (and  (match-all (> (get-received-date) (- (get-current-date) 432000))) (or
  
	(match-all (header-contains "Subject"  ""))
     
  (match-all (header-contains "From"  ""))
  )
 ))





Distribution: Ubuntu 7.10 (gutsy)
Gnome Release: 2.19.5 2007-07-11 (Ubuntu)
BugBuddy Version: 2.18.1
Comment 1 André Klapper 2007-07-18 15:21:23 UTC
*** Bug 457906 has been marked as a duplicate of this bug. ***
Comment 2 André Klapper 2007-07-18 15:22:26 UTC
confirming on evo 2.11.4 here. this makes "last 5 days' messages and "last messages" from the quick search dropdown list unusable => blocker.
Comment 3 Srinivasa Ragavan 2007-07-18 22:24:21 UTC
Andre, I dont think this is a blocker. I see this is a important bug to be fixed. 


Johnny, can you kill this bug?
Comment 4 André Klapper 2007-07-18 23:03:19 UTC
srini, you're probably right. just want to be sure that this will be done pretty soon, but you're right. :-)
Comment 5 B S Srinidhi 2007-07-19 03:19:21 UTC
This seems to be date parsing issue. The same thing happens in "Advanced Search" too. Selecting one of the date fields and searching on "a time relative to the current time", causes the same popup.
Comment 6 Johnny Jacob 2007-07-19 07:34:15 UTC
the fix for 364731 has caused this .. 

so (match-all (= (cast-int (user-tag "score")) -3)) can be made to  (match-all (= (cast-int (user-tag "score")) (- 0 3))) 
Comment 7 Johnny Jacob 2007-07-19 10:04:10 UTC
Created attachment 91964 [details] [review]
Reverting patch for #364731
Comment 8 Johnny Jacob 2007-07-19 10:05:10 UTC
Created attachment 91965 [details] [review]
Use (- n) in sexp for negative values
Comment 9 André Klapper 2007-07-19 14:27:50 UTC
*** Bug 456016 has been marked as a duplicate of this bug. ***
Comment 10 André Klapper 2007-07-21 01:28:46 UTC
*** Bug 458821 has been marked as a duplicate of this bug. ***
Comment 11 Srinivasa Ragavan 2007-07-26 08:24:19 UTC
Please commit to head.
Comment 12 Akhil Laddha 2007-07-27 13:32:09 UTC
Similar bug against OpenSUSE 10.3 Alpha 6 in bugzilla.novell.com

https://bugzilla.novell.com/show_bug.cgi?id=294501
Comment 13 Milan Crha 2007-07-27 14:50:10 UTC
Reverting patch is committed to Evolution-Data-Server trunk. Committed revision 7879.

Evolution patch is committed to trunk. Committed revision 33862.
Comment 14 André Klapper 2007-07-29 22:45:23 UTC
*** Bug 461609 has been marked as a duplicate of this bug. ***