NIFI-6958:

- Addressing issue causing errors preventing version changes when there is a processor to enable or disable in a sub process group.
This commit is contained in:
Matt Gilman 2020-02-05 12:49:01 -05:00 committed by markap14
parent 5d851e6a13
commit b1b06bf5e1
1 changed files with 2 additions and 2 deletions

View File

@ -4633,9 +4633,9 @@ public final class StandardProcessGroup implements ProcessGroup {
processor.setPosition(new Position(proposed.getPosition().getX(), proposed.getPosition().getY()));
if (proposed.getScheduledState() == org.apache.nifi.registry.flow.ScheduledState.DISABLED) {
disableProcessor(processor);
processor.getProcessGroup().disableProcessor(processor);
} else if (processor.getScheduledState() == ScheduledState.DISABLED) {
enableProcessor(processor);
processor.getProcessGroup().enableProcessor(processor);
}
if (!isEqual(processor.getBundleCoordinate(), proposed.getBundle())) {