Closed Bug 549912 Opened 15 years ago Closed 14 years ago

js exception in nsExtensionManager.js when an extension is a dangling symlink.

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: arno, Unassigned)

Details

(Whiteboard: [AddonsRewrite])

Hi, in my xulrunner appli, I've one extension installed as a symlink from extensions/ to another place. For some reason, that symlink became broken. And now, every time I start my appli, I've following error in my js console: Error: [Exception... "Component returned failure code: 0x80520008 (NS_ERROR_FILE_ALREADY_EXISTS) [nsIFile.create]" nsresult: "0x80520008 (NS_ERROR_FILE_ALREADY_EXISTS)" location: "JS frame :: file:///home/arno/mozilla/obj-x86_64-unknown-linux-gnu/xulrunner/dist/bin/components/nsExtensionManager.js :: DirInstallLocation_getItemLocation :: line 1160" data: no] Source File: file:///home/arno/mozilla/obj-x86_64-unknown-linux-gnu/xulrunner/dist/bin/components/nsExtensionManager.js Line: 1160
Would be interested to know if this is still a problem with the new extension manager.
Tested with one of my own extensions and we don't show up an exception anymore. Instead a message is displayed in the error console: LOG addons.xpi: Ignoring entry which isn't a directory: /data/firefox/test-profile/extensions/mozmill-crowd@qa.mozilla.org I would say that we can call it fixed. Due to a missing bug# I will set this bug to WFM.
Status: NEW → RESOLVED
Closed: 14 years ago
OS: Linux → All
Hardware: x86 → All
Resolution: --- → WORKSFORME
Whiteboard: [AddonsRewrite]
Version: unspecified → Trunk
You need to log in before you can comment on or make changes to this bug.