Bryan Bende created NIFI-5577:
---------------------------------
Summary: Component revision number can be incorrectly changed
during a failed update
Key: NIFI-5577
URL: https://issues.apache.org/jira/browse/NIFI-5577
Project: Apache NiFi
Issue Type: Bug
Affects Versions: 1.7.1
Reporter: Bryan Bende
Assignee: Bryan Bende
When an update of a component throws an exception, the revision number is
incorrectly set to whatever the client passed in, and since clients are allowed
to keep making requests without the latest revision number this means the
revision number can incorrectly get set back to some lower number.
Steps to reproduce...
* Create a GenerateFlowFile processor and get back revision 1
* Change the name three times and get to revision 4
* Submit an update where the revision is 1 and set the state to RUNNING which
should fail because the component is invalid
* Perform a GET for the processors and notice the revision is now 1 and not 4
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)