Closed Bug 300927 Opened 19 years ago Closed 19 years ago

Selecting to install an update "Later" puts Software Update in "Resume downloading ..." state

Categories

(Toolkit :: Application Update, defect)

defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: beltzner, Assigned: bugs)

Details

Attachments

(1 file, 1 obsolete file)

To reproduce:
0. Install a day or two old trunk build
1. Help > Check for Updates ...
2. Download the update
3. When asked if you want to restart, pick "Later"
4. Go to the Help menu

Actual:
The Help menu option for Software Update says "Resume Downloading Deer Park
1.0+...". Selecting this brings you back to the "Downloading Update" screen
which says it's "Paused downloading Deer Park 1.0+" and only allows a user to
"Close" (which actually hides the dialog, see bug 300925).

Expected:
The Help menu option should say "Apply downloaded updates", and bring back the
dialog that asks the user if they want to restart now or later.
Flags: blocking1.8b4+
Attached patch patch (obsolete) — Splinter Review
Assignee: nobody → bugs
Attachment #190070 - Attachment is obsolete: true
Attachment #190082 - Flags: review?(darin)
Checking for the presence of update.status is much better, so I've changed my
patch to do that instead of checking for update.mar. 
Comment on attachment 190082 [details] [diff] [review]
Also fix some other issues with this menu item in various other broken states

r=darin, but was there also some IDL change to go along with this?
Attachment #190082 - Flags: review?(darin) → review+
No - |state| is already (presently undocumented) on nsIUpdateService.idl ... I
was treating its implementation as a read/write property as just a regular js
property so it had no presence on the Patch object... since I wanted to add
special handling I needed to add a custom getter/setter for it and store its
value in _properties.

Checked in. 
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: