View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0033023 | mantisbt | api rest | public | 2023-10-16 11:03 | 2023-10-31 16:32 |
| Reporter | dregad | Assigned To | dregad | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Target Version | 2.26.0 | Fixed in Version | 2.26.0 | ||
| Summary | 0033023: REST and SOAP APIs fail to report that Mantis is offline | ||||
| Description | The REST API OfflineMiddleware calls mci_is_mantis_offline(), which checks for presence of | ||||
| Steps To Reproduce |
| ||||
| Additional Information | Problem is present since initial release of SOAP API in release-1.1.0a4 (2007)... | ||||
| Tags | No tags attached. | ||||
|
MantisBT: master a8a011f2 2023-10-16 11:07 Details Diff |
Fix broken Offline check from REST/SOAP API mc_api.php resides in ./api/soap, but mci_is_mantis_offline() went up 2 levels instead of 3 to get to MantisBT root to check for presence of the `mantis_offline.php` file. Fixes 0033023 |
Affected Issues 0033023 |
|
| mod - api/soap/mc_api.php | Diff File | ||