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

NEW
Unassigned

Status

Testing
Mozbase
4 years ago
2 years ago

People

(Reporter: whimboo, Unassigned)

Tracking

(Depends on: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
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
(Reporter)

Updated

4 years ago
Depends on: 934642
(Reporter)

Updated

4 years ago
No longer blocks: 931828
(Reporter)

Updated

2 years ago
Assignee: hskupin → nobody
Status: ASSIGNED → NEW
You need to log in before you can comment on or make changes to this bug.