Relationship Graph

Relationship Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0026455mantisbtapi restpublic2026-09-01 18:41
Reportermnewnham Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Product Version2.13.0 
Summary0026455: 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.

TagsNo tags attached.

Relationships

duplicate of 0028927 closedcommunity Slim Application Error when RestFault generated 

Activities

dregad

dregad

2019-12-10 06:59

developer   ~0063232

Bug was introduced in commit MantisBT master 51e12336 (confirmed by git bisect) see PR https://github.com/mantisbt/mantisbt/pull/1301

dregad

dregad

2019-12-10 07:11

developer   ~0063235

@vboctor this one's probably for you

vboctor

vboctor

2026-08-29 23:50

manager   ~0071391

I added regression test in the PR below
PR: https://github.com/mantisbt/mantisbt/pull/2269

The issue was fixed by 0028927

Related Changesets

MantisBT: master 51e12336

2018-02-17 13:32

vboctor


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

vboctor


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