Closed Bug 1820080 Opened 1 year ago Closed 1 year ago

Do something sensible when displaying messages that are unavailable offline

Categories

(Thunderbird :: Message Reader UI, defect)

defect

Tracking

(thunderbird111 fixed)

RESOLVED FIXED
112 Branch
Tracking Status
thunderbird111 --- fixed

People

(Reporter: darktrojan, Assigned: darktrojan)

References

Details

Attachments

(1 file)

When offline and without messages synchronised, this code calling DisplayMessage gets an exception from the back-end, and nothing happens. The previously displayed message is still displayed. We should remove it and show a message about things being unavailable.

I don't think this is quite the same problem as the message being unavailable because it hasn't synchronised yet, but that is also problematic.

See Also: → 1820012
See Also: → 1820004
See Also: → 1804351

This just replaces the error message as it was before, no attempt has been made to make it pretty or use sensible strings.

I have however changed how the error works, it is now dealt with at the front-end when the back-end returns NS_ERROR_OFFLINE, instead of the back-end trying to deal with it.

Target Milestone: --- → 112 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/2736faf3b34c
Restore "message unavailable offline" error message. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Attachment #9321246 - Flags: approval-comm-beta?

Comment on attachment 9321246 [details]
Bug 1820080 - Restore "message unavailable offline" error message. r=#thunderbird-reviewers

[Triage Comment]
Approved for beta

Attachment #9321246 - Flags: approval-comm-beta? → approval-comm-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: