You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Bryan Bende (JIRA)" <ji...@apache.org> on 2019/03/29 15:32:05 UTC

[jira] [Created] (NIFI-6163) Reporting task can be set to RUNNING from REST API when invalid

Bryan Bende created NIFI-6163:
---------------------------------

             Summary: 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


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
(v7.6.3#76005)