You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by sc...@apache.org on 2019/09/06 13:32:52 UTC

[nifi] 02/02: NIFI-6623 - enter process group before navigating to the controller service

This is an automated email from the ASF dual-hosted git repository.

scottyaslan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi.git

commit 9aed19137c739ff766ed5a37510bc02f6cf361cd
Author: Rob Fellows <ro...@gmail.com>
AuthorDate: Thu Sep 5 16:55:12 2019 -0400

    NIFI-6623 - enter process group before navigating to the controller service
    
    This closes #3695
    
    Signed-off-by: Scott Aslan <sc...@gmail.com>
---
 .../nifi-web-ui/src/main/webapp/js/nf/canvas/nf-parameter-contexts.js    | 1 +
 .../nifi-web-ui/src/main/webapp/js/nf/canvas/nf-variable-registry.js     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-parameter-contexts.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-parameter-contexts.js
index 79c3bef..88399a2 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-parameter-contexts.js
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-parameter-contexts.js
@@ -706,6 +706,7 @@
                                                         nfCanvasUtils.showComponent(unauthorizedReferencingComponentEntity.processGroup.id, unauthorizedReferencingComponentEntity.id);
                                                     } else if (unauthorizedReferencingComponentEntity.referenceType === 'CONTROLLER_SERVICE') {
                                                         nfProcessGroupConfiguration.showConfiguration(unauthorizedReferencingComponentEntity.processGroup.id).done(function () {
+                                                            nfProcessGroup.enterGroup(unauthorizedReferencingComponentEntity.processGroup.id);
                                                             nfProcessGroupConfiguration.selectControllerService(unauthorizedReferencingComponentEntity.id);
                                                         });
                                                     }
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-variable-registry.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-variable-registry.js
index f84537e..f91f4a4 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-variable-registry.js
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-variable-registry.js
@@ -926,6 +926,7 @@
                                         nfCanvasUtils.showComponent(unauthorizedAffectedComponentEntity.processGroup.id, unauthorizedAffectedComponentEntity.id);
                                     } else if (unauthorizedAffectedComponentEntity.referenceType === 'CONTROLLER_SERVICE') {
                                         nfProcessGroupConfiguration.showConfiguration(unauthorizedAffectedComponentEntity.processGroup.id).done(function () {
+                                            nfProcessGroup.enterGroup(unauthorizedAffectedComponentEntity.processGroup.id);
                                             nfProcessGroupConfiguration.selectControllerService(unauthorizedAffectedComponentEntity.id);
                                         });
                                     }