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 2021/10/20 20:48:01 UTC
[nifi] branch main updated: NIFI-9237: - Similar to NIFI-9215,
converting integer identifiers to strings to ensure the items are
successfully retrieved when attempting to apply a tooltip.
This is an automated email from the ASF dual-hosted git repository.
scottyaslan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push:
new 51c6910 NIFI-9237: - Similar to NIFI-9215, converting integer identifiers to strings to ensure the items are successfully retrieved when attempting to apply a tooltip.
51c6910 is described below
commit 51c6910510345b6d721a7730692baf4b31ee7dc2
Author: Matt Gilman <ma...@gmail.com>
AuthorDate: Tue Oct 12 17:15:08 2021 -0400
NIFI-9237:
- Similar to NIFI-9215, converting integer identifiers to strings to ensure the items are successfully retrieved when attempting to apply a tooltip.
This closes #5454
Signed-off-by: Scott Aslan <sc...@gmail.com>
---
.../webapp/js/nf/canvas/header/components/nf-ng-processor-component.js | 2 +-
.../nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-settings.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-processor-component.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-processor-component.js
index 2599355..1a39e95 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-processor-component.js
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/header/components/nf-ng-processor-component.js
@@ -542,7 +542,7 @@
// create the row for the processor type
processorTypesData.addItem({
- id: i,
+ id: i + '',
label: nfCommon.substringAfterLast(type, '.'),
type: type,
bundle: documentedType.bundle,
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-settings.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-settings.js
index 9e5f188..a602335 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-settings.js
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-settings.js
@@ -828,7 +828,7 @@
// add the documented type
reportingTaskTypesData.addItem({
- id: id++,
+ id: id++ + '',
label: nfCommon.substringAfterLast(documentedType.type, '.'),
type: documentedType.type,
bundle: documentedType.bundle,