Description
Issue Summary
Doing a Patch request to the rest/align/api/2/Epics/EpicId endpoint with a remove operation, while there is only one item in the array of links, returns a 204 success result but the link is not removed.
Steps to Reproduce
- Make a PATCH request to rest/align/api/2/Epics/EpicId endpoint with the following body; to create a link:
[ { "op": "add", "path": "/links/0", "value": { "id": 57, "name": "linkymclinkface", "link": "somelink.com" } } ]
Returns 204 and the link is created in the array in the position 0.
- Make a PATCH request to rest/align/api/2/Epics/EpicId endpoint with the following body; to remove the previously created link:
[ { "op": "remove", "path": "/links/0" } ]
Expected Results
The remove operation deletes the link in the position 0 even when it is the last item in the array of links
Actual Results
The link is not removed although we get a status 204 success
Workaround
Currently, there is no known workaround for this behavior. A workaround will be added here when available.
Attachments
Issue Links
- mentioned in
-
Page Loading...
- resolves
-
ALIGNSP-14190 Loading...