#5571 - Database repair: Don't use deep scan on addon_installed

  • By
  • Added
  • 4 views
Identifier #5571
Issue type Minor issue (breaks specific functionality)
Title Database repair: Don't use deep scan on addon_installed
Status Completed
Handling member PDStig
Addon General / Uncategorised
Description In the database repair tool, we are using deep scan on addon_installed.

This means if any addons were only partially installed (or a db structure happened in an update that was not reflected into the database), addon_installed will return false, and the repair tool will think everything is alien and should be purged. This is bad.

Instead, we should not be doing a deep scan. That way, the repair tool will take on the role of fixing what is broken in the addon instead of purging everything.
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated