View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0035440 | mantisbt | plug-ins | public | 2025-02-24 12:41 | 2025-02-24 12:45 |
Reporter | raspopov | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | Microsoft | OS | Windows Server | OS Version | 2022 |
Product Version | 2.27.0 | ||||
Summary | 0035440: Plugins load when they don't need to and don't load when they do | ||||
Description | While debugging a strange issue in my MantisBT external authentication plugin, I discovered that MantisBT disables plugin loading for some tasks: installing, uninstalling, updating and upgrading plugins. By using:
After that, because the authentication plugin is disabled, the next call to What's the point of disabling plugins for this? There is also the opposite example.
It seems that it is necessary to disable the forced loading of plugins in core.php and load them lazily, at the first function call, for example, when calling events. | ||||
Additional Information | By the way for what purpose in plugin_file.php is called?
The result of the function is not used, and there is no point in checking that the plugin is loaded... | ||||
Tags | No tags attached. | ||||
Maybe try to change the |
|