Closed Bug 1884260 Opened 1 year ago Closed 9 months ago

Ensure that prerequisites are completed at the entry points to update checking

Categories

(Toolkit :: Application Update, task, P3)

task

Tracking

()

RESOLVED DUPLICATE of bug 1875502

People

(Reporter: bytesized, Assigned: bytesized)

Details

It is currently possible in unusual circumstances to enter the update system without having done things like _postUpdateProcessing, which is normally done at startup (See Bug 1875502). Really the update process should be as close as possible to 100% bulletproof since we need updates to work to fix literally anything.

I want to address this by doing a couple of things.

  1. I want to make a function that serves as a gatekeeper for the entry points to update checking that will make sure that things like _postUpdateProcessing have been called.
  2. I want to make _postUpdateProcessing more resilient to failure by wrapping some existing code in try blocks, falling back from errors when at all possible, and showing a manual update notification on unrecoverable errors.
Status: NEW → RESOLVED
Closed: 9 months ago
Duplicate of bug: 1875502
Resolution: --- → DUPLICATE
See Also: 1875502
You need to log in before you can comment on or make changes to this bug.