[ 
https://issues.apache.org/jira/browse/NIFI-6163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pierre Villard updated NIFI-6163:
---------------------------------
    Fix Version/s: 1.12.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> 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
>             Fix For: 1.12.0
>
>          Time Spent: 50m
>  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)

Reply via email to