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 6d3a753  NIFI-9215: - During mouse over events the items in the 
Controller Service Types table could not be looked up because the identifier of 
the item was an integer value and the identifier was a string value. Addressing 
the issue by always using a string.
6d3a753 is described below

commit 6d3a7539ebbdbbe94bf859bf1c780173321f9193
Author: Matt Gilman <[email protected]>
AuthorDate: Tue Oct 5 12:58:32 2021 -0400

    NIFI-9215:
    - During mouse over events the items in the Controller Service Types table 
could not be looked up because the identifier of the item was an integer value 
and the identifier was a string value. Addressing the issue by always using a 
string.
    
    This closes #5439
    
    Signed-off-by: Scott Aslan <[email protected]>
---
 .../nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-services.js  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-services.js
 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-services.js
index 35ecd7e..f4d3962 100644
--- 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-services.js
+++ 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-services.js
@@ -595,7 +595,7 @@
 
                 // add the documented type
                 controllerServiceTypesData.addItem({
-                    id: id++,
+                    id: id++ + '',
                     label: nfCommon.substringAfterLast(documentedType.type, 
'.'),
                     type: documentedType.type,
                     bundle: documentedType.bundle,

Reply via email to