Open Bug 936166 Opened 6 years ago Updated 4 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
Not set

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
You need to log in before you can comment on or make changes to this bug.