-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 3.6.0, 3.7.1, 3.11.1, 4.0.2
-
Component/s: Pull Request - Tasks
- Open a declined pull request
- Attempt to make a task on a comment
- Attached error shows
- Close the error without refreshing the page
- Task was still created successfully
I recorded the relevant HTTP requests and responses for the task add action:
XHR finished loading: POST "https://stash.michiganlabs.com/rest/api/latest/tasks". GET https://stash.michiganlabs.com/rest/api/latest/projects/MUEU/repos/web/pull-requests/10/merge 409 (54035) XHR finished loading: GET "https://stash.michiganlabs.com/rest/api/latest/projects/MUEU/repos/web/pull-requests/10/merge". XHR finished loading: POST "https://stash.michiganlabs.com/rest/analytics/1.0/publish/bulk".
The response for the request that had the 409 error was the message shown in the screenshot:
{"errors":[{"context":null,"message":"This pull request has been declined and must be reopened before it can be merged.","exceptionName":"com.atlassian.stash.pull.IllegalPullRequestStateException"}]}
I have now tried this in Chrome/Safari/Firefox (mac), all with same result.
Upgrading from 3.6.0 to 3.7.1 had no effect.