[
https://issues.apache.org/jira/browse/NIFI-6163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Makarov Vasiliy Nicolaevich reassigned NIFI-6163:
-------------------------------------------------
Assignee: Makarov Vasiliy Nicolaevich
> 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
> Reporter: Bryan Bende
> Assignee: Makarov Vasiliy Nicolaevich
> Priority: Minor
>
> 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)