Closed
Bug 313057
Opened 19 years ago
Closed 16 years ago
Automatic updater downgrades/overwrites browser version when an older/identical version is in the queue
Categories
(Toolkit :: Application Update, defect)
Toolkit
Application Update
Tracking
()
RESOLVED
FIXED
mozilla1.9.1b2
People
(Reporter: kbrosnan, Assigned: robert.strong.bugs)
References
Details
(Keywords: verified1.9.0.12, verified1.9.1, Whiteboard: [sg:want])
Attachments
(2 files, 1 obsolete file)
(deleted),
patch
|
benjamin
:
review+
beltzner
:
approval1.9.1b2+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
mconnor
:
approval1.9.0.6-
dveditz
:
approval1.9.0.12+
|
Details | Diff | Splinter Review |
If there is a full update in the que and a current nightly is installed over it
the older update is installed over the current nightly.
Install Firefox Beta 2
Edit the channel-prefs.js to nightly
Check for updates
Choose install later
Close Firefox
Delete update.mar
Create a blank update.mar
Open Firefox
Check for updates, a full update should be downloaded
Choose install later
Download a current nightly and install
Upon first launch the update will install the update
I would expect the updater not to install the update if the current build ID is
larger than the update ID.
Comment 1•19 years ago
|
||
I don't think we will be fixing this for FF 1.5
Target Milestone: --- → Firefox1.6-
Updated•19 years ago
|
Summary: Installing a current nightly when there is an older full update is in the que ends up installing the update → Installing a current nightly when there is an older full update in the queue ends up installing the update
Are buildId's included in .mar files at the moment?
Comment 4•19 years ago
|
||
*** Bug 321849 has been marked as a duplicate of this bug. ***
Comment 5•19 years ago
|
||
I don't do anything with .mar files. I just download the latest installer.exe, but I'm seeing the same problem (Minefield just downgraded my 20060531 nightly to 20060528 after the automatic update). I presume it's the same bug as this? Adding a few more keywords to the Summary for ease of finding.
Summary: Installing a current nightly when there is an older full update in the queue ends up installing the update → Automatic updater downgrades browser/installs older version: Installing a current nightly when an older update is in the queue ends up with the older update being installed
I just had this happen to me with Firefox 3 beta 3 pre. I had a build of 01-12-08 that downloaded from the nightly build location and installed manually (copied files from a zip file to the installation directory), and the updater replaced it with 2008011105.
Comment 7•17 years ago
|
||
This is a really annoying issue which I was also able to see today while trying to upgrade the Firefox version from 2.0.0.11 to 2.0.0.13 for a co-worker:
1. Complete .mar file was downloaded and update dialog appears
2. Started update process which failed due to limited disk space
3. Patching firefox.exe failed => Installed version is not usable anymore
4. Uninstalled Firefox 2.0.0.11
5. Installed Firefox 2.0.0.13
6. Started Firefox
Now the update dialog comes up again and tells that a previous update wasn't successful (which is still correct) applied and has to retried. Now you can click on restart and the already downloaded 2.0.0.13 update will overwrite your currently installed version.
It seems that there is no version check at the moment. The file active-update.xml contains the target version of the downloaded update which should have to be compared against the currently installed version before the update notice is shown. If it contains the same or a lesser version the downloaded update has to be rejected and deleted from disk. At the moment you will be able to overwrite an existing Firefox version with an out-dated version. It depends on which version was downloaded for the current user and when he was logged-in the last time. If he has admin permissions and hasn't used his account for a half year the Firefox version will be downgraded to the version which was up-to-date at this time.
Requesting blocking-firefox3 because it's a major issue and the fix shouldn't be too hard to implement.
Severity: normal → major
Flags: blocking-firefox3?
OS: Windows XP → All
Hardware: PC → All
Summary: Automatic updater downgrades browser/installs older version: Installing a current nightly when an older update is in the queue ends up with the older update being installed → Automatic updater downgrades/overwrites browser version when an older/identical version is in the queue
Target Milestone: Firefox 2 → ---
Version: unspecified → Trunk
Comment 9•17 years ago
|
||
This does not block the final release of Firefox 3.
Flags: blocking-firefox3? → blocking-firefox3-
Updated•17 years ago
|
Flags: wanted-firefox3+
Updated•16 years ago
|
Product: Firefox → Toolkit
Assignee | ||
Updated•16 years ago
|
Assignee: nobody → robert.bugzilla
Assignee | ||
Comment 10•16 years ago
|
||
Assignee | ||
Comment 11•16 years ago
|
||
The buildID format may change and afaik isn't used for comparison in the code base both of which make me extremely uncomfortable so I used the app version instead. In the case where they are equal we apply the update which shouldn't leave an unusable app except possibly in the nightly user case.
Attachment #346986 -
Attachment is obsolete: true
Attachment #347603 -
Flags: review?(benjamin)
Updated•16 years ago
|
Attachment #347603 -
Flags: review?(benjamin) → review+
Assignee | ||
Updated•16 years ago
|
Attachment #347603 -
Flags: approval1.9.1b2?
Comment 12•16 years ago
|
||
Comment on attachment 347603 [details] [diff] [review]
patch rev2
a=beltzner
Attachment #347603 -
Flags: approval1.9.1b2? → approval1.9.1b2+
Comment 13•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.1b2
Assignee | ||
Comment 14•16 years ago
|
||
In case we want to take this for a 1.9.0.x release... still need to let the trunk patch bake a bit
Assignee | ||
Comment 15•16 years ago
|
||
Comment on attachment 349083 [details] [diff] [review]
patch for 1.9 (checked in)
This has been baking on the trunk and on 1.9.1 for quite some time so requesting approval 1.9.0.x. This prevents downgrading to an earlier version when an update has been staged to be installed.
Attachment #349083 -
Flags: approval1.9.0.6?
Updated•16 years ago
|
Attachment #349083 -
Flags: approval1.9.0.6? → approval1.9.0.6-
Comment 16•16 years ago
|
||
Comment on attachment 349083 [details] [diff] [review]
patch for 1.9 (checked in)
I think we'll let this one go for 1.9.0.x, we've had it for a really long time, and I don't think there's a ton of incidents happening with this bug, so let's just let it get fixed in 3.1.
Comment 19•16 years ago
|
||
Taking this well-baked fix on the 1.9.0 branch will resolve a bug that mystifies and alarms users on shared computers.
Flags: wanted1.9.0.x+
Flags: blocking1.9.0.12?
Assignee | ||
Updated•16 years ago
|
Attachment #349083 -
Flags: approval1.9.0.12?
Updated•16 years ago
|
Whiteboard: [sg:want]
Updated•16 years ago
|
Flags: blocking1.9.0.12? → blocking1.9.0.12+
Updated•16 years ago
|
Attachment #349083 -
Flags: approval1.9.0.12? → approval1.9.0.12+
Comment 20•16 years ago
|
||
Comment on attachment 349083 [details] [diff] [review]
patch for 1.9 (checked in)
Approved for 1.9.0.12, a=dveditz for release-drivers
Assignee | ||
Comment 21•16 years ago
|
||
Comment on attachment 349083 [details] [diff] [review]
patch for 1.9 (checked in)
Checking in mozilla/toolkit/mozapps/update/src/nsUpdateService.js.in;
/cvsroot/mozilla/toolkit/mozapps/update/src/nsUpdateService.js.in,v <-- nsUpda
teService.js.in
new revision: 1.152; previous revision: 1.151
done
Checking in mozilla/toolkit/xre/nsAppRunner.cpp;
/cvsroot/mozilla/toolkit/xre/nsAppRunner.cpp,v <-- nsAppRunner.cpp
new revision: 1.217; previous revision: 1.216
done
Checking in mozilla/toolkit/xre/nsUpdateDriver.cpp;
/cvsroot/mozilla/toolkit/xre/nsUpdateDriver.cpp,v <-- nsUpdateDriver.cpp
new revision: 1.27; previous revision: 1.26
done
Checking in mozilla/toolkit/xre/nsUpdateDriver.h;
/cvsroot/mozilla/toolkit/xre/nsUpdateDriver.h,v <-- nsUpdateDriver.h
new revision: 1.5; previous revision: 1.4
done
Attachment #349083 -
Attachment description: patch for 1.9 → patch for 1.9 (checked in)
Assignee | ||
Updated•16 years ago
|
Keywords: fixed1.9.0.12
Comment 22•15 years ago
|
||
For record-keeping, this caused bug 498379
Comment 23•15 years ago
|
||
Verified by installing an older nightly, checking for updates but not applying it, installing a more recent nightly, and then upon first start of the latter installation the expected version was shown as having been installed. No update to the latest nightly.
Also tried installing older nighly, checking for update but not applying it, installing the latest nightly...and so on such that the application did not install the pending update.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.0.12pre) Gecko/2009070606 GranParadiso/3.0.12pre (.NET CLR 3.5.30729)
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.12pre) Gecko/2009070604 GranParadiso/3.0.12pre
Keywords: fixed1.9.0.12 → verified1.9.0.12
Updated•15 years ago
|
Keywords: fixed1.9.1
Comment 24•15 years ago
|
||
Also verified on: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.1pre) Gecko/20090706 Shiretoko/3.5.1pre
and its Vista version
Keywords: fixed1.9.1 → verified1.9.1
You need to log in
before you can comment on or make changes to this bug.
Description
•