Closed Bug 291224 Opened 20 years ago Closed 18 years ago

Software update and installer clears cache

Categories

(Toolkit :: Application Update, defect)

1.7 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: andypopely, Assigned: bugs)

References

Details

User-Agent: Mozilla/5.0 (Like Netscape/7.2 but newer; Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3 Build Identifier: Mozilla/5.0 (Like Netscape/7.2 but newer; Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3 I've let the update process update Firefox to 1.0.2 and now to 1.0.3 on my WinXP/SP2 system. After both updates when Firefox is restarted the first time the Firefox cache is cleared. During both updates I let the update process go ahead and close Firefox when it detected Firefox was open. Reproducible: Always
Reporter, if you don't shutdown Firefox cleanly (killing, crashing), you loose the cache the next time you start up. I think this is waht happened here. So I think this is normal here, unless you want to be sure that the install script will shut down a running Firefox cleanly.
(In reply to comment #1) > Reporter, if you don't shutdown Firefox cleanly (killing, crashing), you loose > the cache the next time you start up. I think this is waht happened here. > > So I think this is normal here, unless you want to be sure that the install > script will shut down a running Firefox cleanly. Firefox has to be active in order to receive the popup notifying the user that there is an update available. The update process asks the user if it can close Firefox so I believe it should close Firefox cleanly or pause until the user closes Firefox. Either way the Firefox cache should not be cleared as it's an important performance aspect of Firefox.
The firefox installer actually ends up terminating an existing firefox process in some cases, and that can cause the disk cache to be left in an inconsistent state. As a result, the next time firefox loads the disk cache, it will discover the inconsistency and discard the disk cache. This is very much related to the problem described in bug 105843. This bug could almost be considered a duplicate of that bug report, but actually I think it would be nicer if the installer knew how to close firefox gracefully.
Depends on: 105843
Version: unspecified → 1.0 Branch
Status: UNCONFIRMED → NEW
Ever confirmed: true
The same thing happens with the SeaMonkey installer. Is that part of this bug report, or should I open a new bug?
Summary: Software update clears cache → Software update and installer clears cache
Blocks: 216490
Steve: It's the same bug.
Closing out bugs in the old style updater, which are superseded by the new system in 1.5.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WONTFIX
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.