Closed
Bug 546593
Opened 15 years ago
Closed 14 years ago
If both a partial and complete update have a verification failure this._update is null, the UI breaks, and the user is not notified of the update failure
Categories
(Toolkit :: Application Update, defect)
Toolkit
Application Update
Tracking
()
RESOLVED
FIXED
mozilla2.0b7
People
(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)
References
Details
Attachments
(5 files, 2 obsolete files)
(deleted),
image/png
|
Details | |
(deleted),
image/png
|
Details | |
(deleted),
patch
|
mossop
:
review+
mossop
:
approval2.0+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
robert.strong.bugs
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
robert.strong.bugs
:
review+
christian
:
approval1.9.2.11+
|
Details | Diff | Splinter Review |
and the update UI totally fails... looks like another old bug that just hasn't hit us before.
Happens when trying to set the statusText
this._update.statusText = message
http://mxr.mozilla.org/mozilla-central/source/toolkit/mozapps/update/nsUpdateService.js#2513
Assignee | ||
Comment 1•14 years ago
|
||
Assignee: nobody → robert.bugzilla
Status: NEW → ASSIGNED
Attachment #472125 -
Flags: review?(dolske)
Assignee | ||
Comment 2•14 years ago
|
||
Comment on attachment 472125 [details] [diff] [review]
patch rev1
hmmm... I can add a test for this
Attachment #472125 -
Attachment is obsolete: true
Attachment #472125 -
Flags: review?(dolske)
Assignee | ||
Comment 3•14 years ago
|
||
For reference, this is what happens on trunk when this fails... the downloading page doesn't go to the errors page.
Assignee | ||
Comment 4•14 years ago
|
||
Assignee | ||
Updated•14 years ago
|
Summary: If both a partial and complete update have a verification failure this._update is null → If both a partial and complete update have a verification failure this._update is null, the UI breaks, and the user is not notified of the error
Assignee | ||
Updated•14 years ago
|
blocking1.9.2: --- → ?
Summary: If both a partial and complete update have a verification failure this._update is null, the UI breaks, and the user is not notified of the error → If both a partial and complete update have a verification failure this._update is null, the UI breaks, and the user is not notified of the update failure
Assignee | ||
Comment 5•14 years ago
|
||
dolske, could you please review this? A couple of notes:
I cleaned up a couple of tests that aren't part of this bug so they would create the active-update.xml with the correct value for isCompleteUpdate for the update. The isCompleteUpdate value would get set correctly by the update service later but I wanted to fix it so the initial value was correct since it could potentially hide a bug that wouldn't get caught by the tests.
I had to change gWindowObserver so it always added a load listener for every window opened since an alert will be displayed before the update UI for test_0074_notify_verifyFailPartial_successComplete.xul.
Attachment #472333 -
Flags: review?(dolske)
Assignee | ||
Comment 6•14 years ago
|
||
(In reply to comment #5)
>...
> I had to change gWindowObserver so it always added a load listener for every
> window opened since an alert will be displayed before the update UI for
s/alert/alert service notification/
Assignee | ||
Comment 7•14 years ago
|
||
Comment on attachment 472333 [details] [diff] [review]
patch rev1 with tests
Talked with Dave and he said he could review this.
Attachment #472333 -
Flags: review?(dolske) → review?(dtownsend)
When this happens does the user get updated or does it error out? Do we really need to take this on 1.9.1 as well? If so, then this wasn't fallout from backporting update changes from trunk?
Assignee | ||
Comment 9•14 years ago
|
||
When this happens with a manual check the UI breaks in that the UI is stuck on the page in the screenshot or if the client hides the ui during the download the user won't be notified of the error. This does affect 1.9.1. This pre-existed the backport of update changes from trunk and is not fallout from the backporting of changes from the trunk to 1.9.2.
This bug will happen if releng released an update with a different file hash than the one in the update snippet which is extremely unlikely hence why this has never been caught before. It would also happen if the client had software that modified in a non-fatal way since that would change the file hash and in this case the user would get stuck in the ui shown in the screenshot.
I don't think it is critical to fix this on 1.9.2 but since the changes on the client side are rather minimal and the changes are well tested I think it is a good candidate for 1.9.2. Since 1.9.1 doesn't have the app update test infrastructure I would prefer not fixing this on 1.9.1.
Assignee | ||
Comment 10•14 years ago
|
||
btw: I am slightly concerned that this bug has manifested itself in other broken behavior in the past and is possibly the cause of other bugs that I haven't been able to determine the root cause for.
Updated•14 years ago
|
Attachment #472333 -
Flags: review?(dtownsend) → review+
Updated•14 years ago
|
Attachment #472333 -
Flags: approval2.0+
Assignee | ||
Comment 11•14 years ago
|
||
Attachment #473404 -
Flags: review+
Assignee | ||
Comment 12•14 years ago
|
||
Pushed to mozilla-central
http://hg.mozilla.org/mozilla-central/rev/23b8229b4cef
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-testsuite+
Flags: in-litmus-
Resolution: --- → FIXED
Assignee | ||
Updated•14 years ago
|
Target Milestone: --- → mozilla2.0b6
Comment 13•14 years ago
|
||
Not "blocking" 1.9.2 but it sounds worth taking if you come up with a backported patch and request approval.
Assignee | ||
Comment 14•14 years ago
|
||
Attachment #476429 -
Flags: review+
Attachment #476429 -
Flags: approval1.9.2.11?
Assignee | ||
Comment 15•14 years ago
|
||
Forgot to disable debugging
Attachment #476429 -
Attachment is obsolete: true
Attachment #476430 -
Flags: review+
Attachment #476430 -
Flags: approval1.9.2.11?
Attachment #476429 -
Flags: approval1.9.2.11?
Attachment #476430 -
Flags: approval1.9.2.11? → approval1.9.2.11+
Assignee | ||
Comment 17•14 years ago
|
||
Pushed to mozilla-1.9.2
http://hg.mozilla.org/releases/mozilla-1.9.2/rev/c6b6251bbbb4
You need to log in
before you can comment on or make changes to this bug.
Description
•