GNOME Bugzilla – Bug 458821
Search Folders on date/time are broken
Last modified: 2013-09-13 01:00:20 UTC
Please describe the problem: I have a "last 7 days" search folder in evolution which is now broken: if I click on it, I get a dialogue box saying: Error while Expunging folder. Cannot parse search expression: Unexpected token encountered: 45: (match-threads "replies_parents" (and (match-all (> (get-received-date) (- (get-current-date) 604800))) ) ) And no maill messages are displayed. Steps to reproduce: To reproduce, [1] open Evolution's mail view, choose Edit->Search Folders from the main menu [2] press the "+ Add" button on the top right of the Search Folders dialogue [3] make a new folder, e.g.: Search name: two weeks change "Sender" to "Date Received" change "is" to "is after" press "<click here to select a date>" choose "Compare against a time relative to the current time" 2 weeks ago press OK Back in the Add Rule dialogue, choose "All local and active remote folders" Press OK Back in the list of Search Folders, press OK [4] click on the new folder (in the list under Search Folders) No mail is displayed. [5] click on some other folder, and you'll get a message like this: Error while Storing folder 'two weeks'. Cannot parse search expression: Unexpected token encountered: 45: (and (match-all (> (get-received-date) (- (get-current-date) 1209600))) ) [6] Press OK and use a different mailer. :-) Actual results: Expected results: Does this happen every time? yes Other information:
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 457523 ***