You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Koji Kawamura (JIRA)" <ji...@apache.org> on 2016/07/31 06:54:20 UTC

[jira] [Created] (NIFI-2441) View state fails with a JS error: "Cannot read property 'canRead' of undefined"

Koji Kawamura created NIFI-2441:
-----------------------------------

             Summary: View state fails with a JS error: "Cannot read property 'canRead' of undefined"
                 Key: NIFI-2441
                 URL: https://issues.apache.org/jira/browse/NIFI-2441
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core UI
    Affects Versions: 1.0.0
            Reporter: Koji Kawamura
             Fix For: 1.0.0


NIFI-2355 and its PR #715 added permission check to table sort comparator in nf-component-state.js. And it produces a JS error: "Cannot read property 'canRead' of undefined"

I think it shouldn't be added to state table, since a given user won't have record level permission difference for component state.

#715 has the same change for changes nf-controller-services.js and other JS files. I assume adding the permission change to nf-component-state.js was a mistake. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)