From 51c6910510345b6d721a7730692baf4b31ee7dc2 Mon Sep 17 00:00:00 2001 From: Matt Gilman Date: Tue, 12 Oct 2021 17:15:08 -0400 Subject: [PATCH] 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 --- .../js/nf/canvas/header/components/nf-ng-processor-component.js | 2 +- .../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 25993558a4..1a39e95865 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 9e5f188582..a602335a57 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,