View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0012620 | mantisbt | plug-ins | public | 2010-12-20 08:00 | 2014-12-08 00:33 |
| Reporter | sveyret | Assigned To | dhx | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 1.2.3 | ||||
| Target Version | 1.3.0-beta.1 | Fixed in Version | 1.3.0-beta.1 | ||
| Summary | 0012620: Plug-ins included through function | ||||
| Description | Plug-ins are included by core.php through functions in plugin_api.php. This can cause hard-to-debug errors. If there is no other way, I think we should explicitly define global variables, even if they seem to be by default defined outside any scope (example, adding a | ||||
| Steps To Reproduce |
| ||||
| Additional Information | Including bug_api indirectly includes the cfdefs files for custom field definitions, which should be stored in a global variable. But as this include is made through the main file of plug-in, itself included through a function, the variable will actually not have this global scope. | ||||
| Tags | No tags attached. | ||||