Closed Bug 245043 Opened 20 years ago Closed 20 years ago

Installing multiple extensions via InstallTrigger.install() fails

Categories

(Toolkit :: Add-ons Manager, defect, P2)

x86
Windows XP
defect

Tracking

()

RESOLVED FIXED
mozilla1.7

People

(Reporter: me, Assigned: bugs)

References

()

Details

(Whiteboard: fixed-aviary1.0)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040529 Firefox/0.8.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040529 Firefox/0.8.0+

When more than one extension is installed via an InstallTrigger only some of
them install. Initially they all display in the Extension Manager but one by one
they disappear until only a few are left.

Reproducible: Sometimes
Steps to Reproduce:
1. Visit the URL (or see the attachment in the next comment for a testcase)
2. Click "All" then "Install Extensions"
3. When the Software Install box appears click "Install"

Actual Results:  
Only some of the extensions were installed

Expected Results:  
All of the extensions should have been installed

Sorry if this is not a front end bug.
Steps to Reproduce:
1. Load the attachment
2 [details] [diff] [review]. Press "Install"
3. When the Software Install box appears click "Install"
Status: NEW → ASSIGNED
Flags: blocking0.9+
Priority: -- → P2
Target Milestone: --- → Firefox0.9
Attached patch patchSplinter Review
Bypass the cache by extracting install.rdf to a salted file name.
(What was happening was that for each extension the install manifest install.rdf
was being extracted to a temp dir correctly, but GetDataSourceBlocking was
returning a cached version of the first one in the queue, meaning that only one
extension would ever show up in the list) 

Fixed on the branch. Will be fixed on trunk when EM is enabled fully there. 
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Whiteboard: fixed-aviary1.0
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: