Rob Fellows created NIFI-14015:
----------------------------------

             Summary: UI - JS console error when landing on the canvas with no 
policy to "view the component" of the root process group
                 Key: NIFI-14015
                 URL: https://issues.apache.org/jira/browse/NIFI-14015
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core UI
    Affects Versions: 2.0.0
            Reporter: Rob Fellows


If the user has no policy to "view the component" on the root process group, 
when they navigate to the canvas, there is a console error. It seems to not 
affect the usage of the application, but should get cleaned up.

 
{code:java}
ERROR TypeError: Cannot read properties of undefined (reading 'name')
    at Object.next (chunk-YP5IK4HA.js:1:101798)
    at Wa.next (chunk-6SK3DVET.js:3:3101)
    at pt._next (chunk-6SK3DVET.js:3:2784)
    at pt.next (chunk-6SK3DVET.js:3:2511)
    at chunk-6SK3DVET.js:3:27043
    at Fr._next (chunk-6SK3DVET.js:3:5409)
    at Fr.next (chunk-6SK3DVET.js:3:2511)
    at chunk-6SK3DVET.js:3:22236
    at Fr._next (chunk-6SK3DVET.js:3:5409)
    at Fr.next (chunk-6SK3DVET.js:3:2511) {code}
that points to here:
{code:java}
            this.store.select(Ft).pipe(V()).subscribe(n => {
                this.processGroupName = n.breadcrumb.name // <- error here
            } {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to