Describe the bug
When searching for a document not previously loaded in the document-tree – for example when nested too deeply (for the configured loading-depth) – it shows the node, but selecting it crashes the UI.
To Reproduce
Steps to reproduce the behavior:
If necessary configure Neos.Neos.userInterface.navigateComponent.nodeTree.loadingDepth as 1
Open the command bar, select "Search documents", search for a document not currently visible in the document tree
Select the document with enter or clicking on it
See error
Expected behavior
The selected page should be loaded.
Describe the bug When searching for a document not previously loaded in the document-tree – for example when nested too deeply (for the configured loading-depth) – it shows the node, but selecting it crashes the UI.
To Reproduce Steps to reproduce the behavior:
Neos.Neos.userInterface.navigateComponent.nodeTree.loadingDepth
as 1Expected behavior The selected page should be loaded.
Environment:
Additional context Console prints an error at https://github.com/neos/neos-ui/blob/16ea86cf1ce85a216bd5e6bfd7b9b9ae62fbbf82/packages/neos-ui/src/Containers/RightSideBar/Inspector/index.js#L39
it seems that the new context-path is set as selected but not actually loaded.