View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0023650 | mantisbt | api rest | public | 2017-11-18 02:16 | 2017-12-04 02:17 |
Reporter | vboctor | Assigned To | vboctor | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Product Version | 2.8.0 | ||||
Target Version | 2.9.0 | Fixed in Version | 2.9.0 | ||
Summary | 0023650: Leverage If-Match when deleting issues | ||||
Description | If This makes sure that the client DELETE fails if the issue doesn't exist or exists but has been modified since issue was retrieved by the client. | ||||
Tags | No tags attached. | ||||
MantisBT: master 4aec7f9a 2017-11-17 21:17 Details Diff |
Leverage If-None-Match when deleting issues If client attempts to delete an issue that doesn’t exist or that was modified since issue was retrieved, then fail with error `412 Precondition failed`. Fixes 0023650 |
Affected Issues 0023650 |
|
mod - api/rest/restcore/issues_rest.php | Diff File | ||
mod - core/constant_inc.php | Diff File | ||
MantisBT: master c3729274 2017-11-18 22:34 Details Diff |
Update hash calculation for deletion of issues Base calculation of hash for etag on output of get issues and compare with provided `If-None-Match`. Fixes 0023650 |
Affected Issues 0023650 |
|
mod - api/rest/restcore/issues_rest.php | Diff File |