Uploaded image for project: 'stripes-components'
  1. stripes-components
  2. STCOM-58

Cannot read property 'props' of null at NavListSection.js:19

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P2
    • Resolution: Done
    • None
    • 1.6.0

    Description

      While testing UIU-130, I made a user "mike" whose only permission is "Settings (Users): Can create, edit and remove patron groups". When I log in as this user, I correctly see that the Settings menu is enabled. But when I click on the Users section, nothing is displayed and the console shows:

      NavListSection.js:19 Uncaught TypeError: Cannot read property 'props' of null
          at NavListSection.js:19
          at mapSingleChildIntoContext (ReactChildren.js:107)
          at traverseAllChildrenImpl (traverseAllChildren.js:77)
          at traverseAllChildrenImpl (traverseAllChildren.js:93)
          at traverseAllChildren (traverseAllChildren.js:172)
          at mapIntoWithKeyPrefixInternal (ReactChildren.js:127)
          at Object.mapChildren [as map] (ReactChildren.js:149)
          at NavListSection (NavListSection.js:15)
          at ReactCompositeComponent.js:305
          at measureLifeCyclePerf (ReactCompositeComponent.js:75)
      

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                mike Mike Taylor
                mike Mike Taylor
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 2 hours
                    2h

                    TestRail: Runs

                      TestRail: Cases