neos / contentrepository-development-collection

Work in Progress on the Event Sourced Content Repository as installable set of packages
4 stars 9 forks source link

ContentSubgraph::findNodePath() returns invalid path #164

Open bwaidelich opened 4 years ago

bwaidelich commented 4 years ago

Description

ContentSubgraph::findNodePath() returns a path with a double slash instead of /sites/ for nodes of a Neos site

Steps to Reproduce

In a fresh Demo site installation run

echo (string)$this->subgraph->findNodePath(NodeAggregateIdentifier::fromString('a3474e1d-dd60-4a84-82b1-18d2f21891a3');

Expected behavior

/sites/neosdemo/features

Actual behavior

//neosdemo/features