View Issue Details

IDProjectCategoryView StatusLast Update
0023579mantisbtapi restpublic2017-12-04 02:17
Reportervboctor Assigned 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 19:30

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
Affected Issues
0023579
mod - api/soap/mc_api.php Diff File
mod - api/soap/mc_issue_api.php Diff File