Closed Bug 275607 Opened 20 years ago Closed 15 years ago

XPInstall fails if disk cache turned off ("Download Error")

Categories

(Core Graveyard :: Installer: XPInstall Engine, defect)

1.7 Branch
x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 262854

People

(Reporter: rick, Assigned: dveditz)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217

When trying to install an XPI from the web the download windows shows "Download
Error" when you click on the "Install" button.

Reproducible: Always

Steps to Reproduce:
1.Install fresh install.
1a. Entries need to exist in your prefs.js. See Additional Info below.
2.Go to URL e.g. http://skypilot.projectit.com/all_american15b.xpi
3.Click on "Install" button.
Actual Results:  
XPI download window says "Download Error"

Expected Results:  
Should ask to install local or globally etc...

This only happens if the either of the following two entries exist in your
prefs.js file:

user_pref("browser.cache.disk.capacity", 0);
user_pref("browser.cache.disk.enable", false);
Assignee: xpi-packages → xpi-engine
Component: Installer: XPI Packages → Installer: XPInstall Engine
Product: Mozilla Application Suite → Core
Summary: XPI install window says "Download Error" when installing from web. → XPInstall fails if disk cache turned off ("Download Error")
Version: unspecified → Trunk
Reproduced in Firefox with cache disabled, but not with the size set to 0 for
some reason. But, obviously still a problem.

In Firefox there doesn't appear to be a problem with new-style extension manager
packages, this is somewhere in xpinstall proper.
Assignee: xpi-engine → dveditz
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: Trunk → 1.7 Branch
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.