[
https://issues.apache.org/jira/browse/NIFI-6163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17146377#comment-17146377
]
ASF subversion and git services commented on NIFI-6163:
-------------------------------------------------------
Commit a2c88bc98fb937eedf50dbb998a87727a98f04f7 in nifi's branch
refs/heads/master from Makarov Vasily
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=a2c88bc ]
NIFI-6163 Reporting task cannot be set to running when in INVALID state
Signed-off-by: Pierre Villard <[email protected]>
This closes #4334.
> Reporting task can be set to RUNNING from REST API when invalid
> ---------------------------------------------------------------
>
> Key: NIFI-6163
> URL: https://issues.apache.org/jira/browse/NIFI-6163
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 1.9.1, 1.12.0, 1.11.4
> Reporter: Bryan Bende
> Assignee: Makarov Vasiliy Nicolaevich
> Priority: Minor
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Using the REST API you can submit a request to start a reporting task that
> has validation errors using a curl command like this:
> {code:java}
> curl -X PUT -H Content-Type:application/json
> "http://localhost:8080/nifi-api/reporting-tasks/ca0808a7-0169-1000-9546-62009238a9da/run-status"
> -d
> '{"revision":{"clientId":"ca05c584-0169-1000-497d-4c35dd4f2a58","version":7},"disconnectedNodeAcknowledged":false,"state":"RUNNING"}'{code}
> This call succeeds and if you refresh the UI it will show as running, even
> though it should never have been allowed to be running since it was invalid.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)