You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ex...@apache.org on 2023/11/03 18:37:13 UTC

(nifi) 01/03: NIFI-12315 Resolved issue preventing PG from being imported from Registry

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

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

commit ed9b23ef3f2b111380ebdaf364fa0ad4a2be0bfe
Author: Nissim Shiman <ns...@yahoo.com>
AuthorDate: Fri Nov 3 15:53:48 2023 +0000

    NIFI-12315 Resolved issue preventing PG from being imported from
    Registry
    
    - Corrected component property reference in sorting of response objects
    
    This closes #7977
    
    Signed-off-by: David Handermann <ex...@apache.org>
---
 .../nifi-web-ui/src/main/webapp/js/nf/canvas/nf-flow-version.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-flow-version.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-flow-version.js
index e003306bcd..da98f70777 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-flow-version.js
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-flow-version.js
@@ -200,7 +200,7 @@
 
             if (nfCommon.isDefinedAndNotNull(registriesResponse.registries) && registriesResponse.registries.length > 0) {
                 registriesResponse.registries.sort(function (a, b) {
-                    return a.registry.name > b.registry.name;
+                    return a.component.name > b.component.name;
                 });
 
                 $.each(registriesResponse.registries, function (_, registryEntity) {