View Issue Details

IDProjectCategoryView StatusLast Update
0023579mantisbtapi restpublic2017-12-04 02:17
ReportervboctorAssigned Tovboctor 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version2.7.1 
Target Version2.9.0Fixed in Version2.9.0 
Summary0023579: Internal Server Error 500 when category doesn't exist
Description

The caller should get 400 Bad Request with the appropriate error message.

TagsNo tags attached.

Activities

vboctor

vboctor

2017-11-02 04:07

manager   ~0058113

The repo was done with category name set inside a category object

"category" : {
    "name": "not found"
}
vboctor

vboctor

2017-11-05 14:02

manager   ~0058137

PR: https://github.com/mantisbt/mantisbt/pull/1228

Related Changesets

MantisBT: master 0e071b67

2017-11-03 23:30:32

vboctor

Details Diff
Return 400 when category doesn't exist

If user attempts to create/update an issue with a category that doesn't exist
then return 400 instead failing and returning 500.

Fixes 0023579
mod - api/soap/mc_api.php Diff File
mod - api/soap/mc_issue_api.php Diff File

Issue History

Date Modified Username Field Change
2017-11-02 04:02 vboctor New Issue
2017-11-02 04:02 vboctor Status new => assigned
2017-11-02 04:02 vboctor Assigned To => vboctor
2017-11-02 04:07 vboctor Note Added: 0058113
2017-11-05 14:02 vboctor Note Added: 0058137
2017-11-09 22:53 vboctor Changeset attached => MantisBT master 0e071b67
2017-11-09 22:53 vboctor Status assigned => resolved
2017-11-09 22:53 vboctor Resolution open => fixed
2017-11-09 22:53 vboctor Fixed in Version => 2.9.0
2017-11-09 22:57 vboctor Target Version => 2.9.0
2017-12-04 02:17 vboctor Status resolved => closed