View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0026455 | mantisbt | api rest | public | 2019-12-10 05:42 | 2026-09-01 18:41 |
| Reporter | mnewnham | Assigned To | vboctor | ||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | assigned | Resolution | open | ||
| Product Version | 2.13.0 | ||||
| Summary | 0026455: Update issue status via REST API without privilege results in Slim error | ||||
| Description | In /api/soap/mc_api.php on line 364, its trying to call 2 methods , "getMessage" and "getFault", that don't exist in the class "RestFault". To test, use the rest api to update the status of an issue, without the privileges to do so. A "Slim Application error" is thrown. | ||||
| Tags | No tags attached. | ||||
|
Bug was introduced in commit MantisBT master 51e12336 (confirmed by git bisect) see PR https://github.com/mantisbt/mantisbt/pull/1301 |
|
|
@vboctor this one's probably for you |
|
|
I added regression test in the PR below The issue was fixed by 0028927 |
|
|
MantisBT: master 51e12336 2018-02-17 13:32 Details Diff |
Use `IssueAddCommand` in SOAP API |
Affected Issues 0023998, 0026455 |
|
| mod - api/soap/mc_api.php | Diff File | ||
| mod - api/soap/mc_issue_api.php | Diff File | ||
| mod - api/soap/mc_project_api.php | Diff File | ||
| mod - core/commands/IssueAddCommand.php | Diff File | ||
|
MantisBT: master 44889efc 2026-08-29 23:46 Details Diff |
Add REST fault regression test Issue 0026455, 28927 Verify RestFault conversion preserves the HTTP status and message. |
Affected Issues 0026455 |
|
| add - tests/Mantis/ApiObjectFactoryTest.php | Diff File | ||