Closed Bug 1637141 Opened 1 year ago Closed 1 year ago

Free/busy service sends no information if there are no providers

Categories

(Calendar :: Internal Components, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 78.0

People

(Reporter: darktrojan, Assigned: darktrojan)

Details

Attachments

(1 file)

The free/busy service loops over all providers and sends results from each to the caller. However, if there are no providers, there's nothing to loop over and the caller is forever waiting for a response.

Comment on attachment 9147510 [details] [diff] [review]
1637141-freebusy-no-providers-1.diff

Review of attachment 9147510 [details] [diff] [review]:
-----------------------------------------------------------------

Changes look good, and great to have a test for this.
Attachment #9147510 - Flags: review?(paul) → review+

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/0b9a9d6280be
Send an empty response to callers of getFreeBusyIntervals to indicate there are no providers. r=pmorris

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