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 458821 - Search Folders on date/time are broken
Search Folders on date/time are broken
Status: RESOLVED DUPLICATE of bug 457523
Product: evolution
Classification: Applications
Component: Mailer
2.12.x
Other All
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2007-07-20 23:16 UTC by Liam Quin
Modified: 2013-09-13 01:00 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Liam Quin 2007-07-20 23:16:17 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:
Comment 1 André Klapper 2007-07-21 01:28:46 UTC
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 ***