Open Bug 936166 Opened 11 years ago Updated 2 years ago

[mozprofile] Backup logic should not assume that the already installed add-on is of the same type (file vs. directory)

Categories

(Testing :: Mozbase, defect)

defect

Tracking

(Not tracked)

People

(Reporter: whimboo, Unassigned)

References

(Depends on 1 open bug)

Details

Right now we assume in install_from_path() that an already installed add-on with the same id is of the same type (file vs. directory) as the one which should be installed. This will fail if the new addon is an XPI but previously an unpacked add-on has been installed.

https://github.com/mozilla/mozbase/blob/677bdedcdbaa7583d249cedf2ad82472d37f5766/mozprofile/mozprofile/addons.py#L292
Depends on: 934642
No longer blocks: 931828
Assignee: hskupin → nobody
Status: ASSIGNED → NEW
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.