Closed Bug 1986621 Opened 2 months ago Closed 1 month ago

Advanced Search EWS not quite working

Categories

(MailNews Core :: Networking: Exchange, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED
145 Branch

People

(Reporter: mkmelin, Assigned: babolivier)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Advanced Search (Ctrl+Shift+F) is not quite working for EWS. This is the search that acts on raw data and does not rely on gloda indexing.
I'm going to list my current findings here though there is likely more than one separate issue to fix.

Folder selection (in the dialog) is broken - nothing prefilled, and can't select the ews account

For the search operations

  • Subject search: ok
  • From search: ok
  • Body search: NOT ok
  • Date search: ok
  • To: NOT ok
  • Cc: (untested, likely NOT ok)
  • From, To, Cc, or Bcc: NOT ok
  • Age in Days: ok
  • Size (in KB): NOT ok, but seems to give wrong results (less than 20kB returns messages with e.g. 72KB attachments)
  • Tags: ok
  • Attachment Status: ok
  • Junk Status: ok
  • Junk Percent: ok
  • Junk Score Origin: ok

Filtering is using the same code so broken search will also make corresponding filters not work.

Depends on: 1987826

Magnus, when testing this it looks like I'm unable to get EWS folders to show up in the dropdown, did you do anything specific for them to show up in there?

Flags: needinfo?(mkmelin+mozilla)

Oh ignore me, you mentioned this in the initial comment and I missed it somehow.

Flags: needinfo?(mkmelin+mozilla)

(In reply to Magnus Melin [:mkmelin] from comment #0)

  • Body search: NOT ok

Seems to work for messages which bodies have been downloaded. This will be streamlined in bug 1986399.

  • To: NOT ok
  • Cc: (untested, likely NOT ok)
  • From, To, Cc, or Bcc: NOT ok

Fixed in bug 1978968.

  • Size (in KB): NOT ok, but seems to give wrong results (less than 20kB returns messages with e.g. 72KB attachments)

Fixed in bug 1987826.

I've finally managed to track down which method controls whether a server (and its folders) show up in the file picker, and I'll attach a patch for this in a bit.

Assignee: nobody → brendan
Status: NEW → ASSIGNED
Target Milestone: --- → 145 Branch

Pushed by toby@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/4b2be53ed3bd
Show EWS folders in advanced search. r=edicharry

Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: