johannessteu / neos-development-collection

The unified repository containing the Neos core packages, used for Neos development.
GNU General Public License v3.0
0 stars 0 forks source link

AssetController->relatedNodesAction throws exception #873

Closed johannessteu closed 8 years ago

johannessteu commented 8 years ago

Jira issue originally created by user sregniet:

I have a two language site (de and en). In the Media Module the new relatedNodesAction will throw an exception for the en Node, as the currentSiteNode is NULL and cannot be resolved.

There is a logged warning "TYPO3\Neos\Domain\Service\ContentContext_Original::getCurrentSiteNode() couldn't load the site node for path "/sites/xyz" in workspace "live". This is probably due to a missing baseworkspace for the workspace of the current user." - but the user has a baseworkspace (live), and also with different baseworkspaces this doesn't resolve properly.

Catchable Fatal Error: Argument 1 passed to TYPO3\Neos\Routing\FrontendNodeRoutePartHandler_Original::resolveRoutePathForNode() must implement interface TYPO3\TYPO3CR\Domain\Model\NodeInterface, null given

Jira-URL: https://jira.neos.io/browse/NEOS-1834