Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-2441

View state fails with a JS error: "Cannot read property 'canRead' of undefined"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.0, 1.0.0-Beta
    • Core UI
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              joewitt Joe Witt
              ijokarumawak Koji Kawamura
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: