#5766 - Many missing addon guards

  • By
  • Added
  • 17 views
Identifier #5766
Issue type Minor issue (breaks specific functionality)
Title Many missing addon guards
Status Completed
Tags

Roadmap: v11 (custom)

Handling member PDStig
Version 11 beta4
Addon core
Description There are many missing addon guards in v11 which cause critical errors and broken installs / upgrades when said addons do not exist.

Improve the unit test for this by checking for instances of require_code / require_lang and ensuring they are within an addon guard. Perhaps do the same with function signatures. Go through the code and fix accordingly.
Steps to reproduce

Funded? No
Commits

Fixed MANTIS-5766 (Many missing addon guards) (378fefda) · Commits · Composr ecosystem / Composr · GitLab

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