mirror of https://github.com/apache/nifi.git
NIFI-5961 Fixing bug where the name of a versioned process group gets incorrectly reset
This closes #3271. Signed-off-by: Mark Payne <markap14@hotmail.com>
This commit is contained in:
parent
8a3d7a453a
commit
79a3696e5e
|
@ -820,7 +820,7 @@ public class VersionsResource extends ApplicationResource {
|
||||||
versionControlInfoDto.setState(flowState.name());
|
versionControlInfoDto.setState(flowState.name());
|
||||||
|
|
||||||
final ProcessGroupEntity updatedGroup = serviceFacade.updateProcessGroupContents(rev, groupId, versionControlInfoDto, flowSnapshot, getIdGenerationSeed().orElse(null), false,
|
final ProcessGroupEntity updatedGroup = serviceFacade.updateProcessGroupContents(rev, groupId, versionControlInfoDto, flowSnapshot, getIdGenerationSeed().orElse(null), false,
|
||||||
true, entity.getUpdateDescendantVersionedFlows());
|
false, entity.getUpdateDescendantVersionedFlows());
|
||||||
final VersionControlInformationDTO updatedVci = updatedGroup.getComponent().getVersionControlInformation();
|
final VersionControlInformationDTO updatedVci = updatedGroup.getComponent().getVersionControlInformation();
|
||||||
|
|
||||||
final VersionControlInformationEntity responseEntity = new VersionControlInformationEntity();
|
final VersionControlInformationEntity responseEntity = new VersionControlInformationEntity();
|
||||||
|
|
Loading…
Reference in New Issue