Closed mhsdesign closed 17 hours ago
Ok but why, is there a usecase?
just for the tests a usecase.
the commit TASK: Remove deprecated usage $node->subgraphIdentity->contentStreamId solves this issue https://github.com/neos/neos-development-collection/issues/5043
or see over here in this issue where we discussed how to solve this last riddle: https://github.com/neos/neos-development-collection/issues/5034#issuecomment-2122150792
As I wrote over in the discussion I would say this is a low level (non API) testing usecase, where the tests want to check something that hte API "blackbox" shouldn't expose and I would suggest to handle it that way. As in by circumventing API on a loewr level (e.g. direct DB checks) and not adding API for that.
Closing in favour of https://github.com/neos/neos-development-collection/pull/5169
As written in https://github.com/neos/neos-development-collection/issues/5034#issuecomment-2197400445 we actually decided against it, but look how pretty it seems? :D
introduces the syntax
WorkspaceName('cs:<ContentStreamId>')
... that way we'd now what to write inside the fetched workspace name of a "forbidden" node.But we initially didnt want to go down this road:
Neos 9.0 weekly - 01-03-2024
Additionally we should restrict the workspace name to be stricter: https://github.com/neos/neos-development-collection/issues/5125 and discuss if
fromString
should allow thecs:
notation.TODO
1.) discuss if we are okay with being able to reference the content stream id in a node address per uri:
2.) disallow the 'fake' workspace name to be used in commands like createWorkspace, or modify a node.
3.) check other usages where a fake workspace name can be passed and see if we should allow it there.