Skip to content

Failed prop type for UAST search #315

Open
@carlosms

Description

@carlosms

Opening the UAST viewer (individual, with the UAST button), and then performing a search, e.g. //*, produces this error in the console. It might happen only during the loading phase, as it then renders correctly.

index.js:2178 Warning: Failed prop type: The prop `id` is marked as required in `Node`, but its value is `undefined`.
    in Node (created by UASTViewer)
    in UASTViewer (at UASTViewerPane.js:54)
    in div (at UASTViewerPane.js:73)
    in UASTViewerPane (at UASTViewer.js:74)
    in div (at UASTViewer.js:73)
    in UASTViewer (at App.js:323)
    in div (created by ModalBody)
    in ModalBody (at App.js:461)
    in div (created by ModalDialog)
    in div (created by ModalDialog)
    in div (created by ModalDialog)
    in ModalDialog (created by Modal)
    in Transition (created by Fade)
    in Fade (created by DialogTransition)
    in DialogTransition (created by Modal)
    in RefHolder (created by Modal)
    in div (created by Modal)
    in Portal (created by Modal)
    in Modal (created by Modal)
    in Modal (at App.js:453)
    in div (at App.js:411)
    in App (at index.js:7)

Warning: Each child in an array or iterator should have a unique "key" prop.

Check the render method of `UASTViewer`. See https://fb.me/react-warning-keys for more information.
    in Node (created by UASTViewer)
    in UASTViewer (at UASTViewerPane.js:54)
    in div (at UASTViewerPane.js:73)
    in UASTViewerPane (at UASTViewer.js:74)
    in div (at UASTViewer.js:73)
    in UASTViewer (at App.js:323)
    in div (created by ModalBody)
    in ModalBody (at App.js:461)
    in div (created by ModalDialog)
    in div (created by ModalDialog)
    in div (created by ModalDialog)
    in ModalDialog (created by Modal)
    in Transition (created by Fade)
    in Fade (created by DialogTransition)
    in DialogTransition (created by Modal)
    in RefHolder (created by Modal)
    in div (created by Modal)
    in Portal (created by Modal)
    in Modal (created by Modal)
    in Modal (at App.js:453)
    in div (at App.js:411)
    in App (at index.js:7)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions