View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0037359 | mantisbt | bugtracker | public | 2026-08-26 02:48 | 2026-08-26 14:58 |
| Reporter | rnijhof | Assigned To | dregad | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | assigned | Resolution | open | ||
| Product Version | 2.27.0 | ||||
| Target Version | 2.29.0 | ||||
| Summary | 0037359: Admin check reports false FAIL when Graphviz path is outside open_basedir | ||||
| Description | SummaryOn a clean MantisBT 2.28.4 installation, the admin installation check reports multiple One of the reported failures appears to be misleading:
The Environment
Steps to reproduce
Actual resultThe following checks are reported as
The Graphviz failures are understandable because However, the Example runtime value:
The exact condition used by the admin check:
evaluates to:
Additional investigationCalling:
results in an
The admin check function contains:
This appears to allow a successful check ( Expected result
NotesThe issue is reproducible with a clean MantisBT 2.28.4 installation, so it does not appear to be caused by modified or leftover files from an upgrade. All paths in this report are anonymized examples. | ||||
| Tags | No tags attached. | ||||
|
Thanks for the detailed report. So there are actually 2 distinct bugs here:
I believe this was introduced when the graphviz_path config was added in 0034609 (2.27.0), more specifically by commit MantisBT master 25bf40e9 which updated the admin check. |
|
|
Proposed fix: PR https://github.com/mantisbt/mantisbt/pull/2267 |
|
|
@dregad, thks for your quick response! Unfortunately, I’m no longer able to test the solution. In the meantime, I’ve migrated our environment to the new version, as I assumed the warnings did not apply to our installation. |
|
OK, sp we'll just have to trust that my unit tests were good enough then ;-)
Rightly so. |
|
Hahaha, i agree :) |
|