-
-
Notifications
You must be signed in to change notification settings - Fork 234
Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Problem one
When I copy a hidden document node with content nodes from dimension A to dimension B, the hidden document is visible afterwards. In the backend, as well as in the frontend. However, this should not happen. Hidden nodes should remain hidden. Regardless of whether they are document nodes or content nodes.
Problem two
When i copy a document node that is visible but has hidden content nodes on it, the hidden content nodes are visible after i copied the document node to another dimension.
Expected Behavior
Hidden nodes should stay hidden
Steps To Reproduce
Probleme one
- Setup two content dimensions:
Neos:
Neos:
sites:
'*':
contentDimensions:
defaultDimensionSpacePoint:
language: de
resolver:
factoryClassName: Neos\Neos\FrontendRouting\DimensionResolution\Resolver\UriPathResolverFactory
options:
segments:
-
dimensionIdentifier: language
dimensionValueMapping:
de: de
en_US: en
ContentRepositoryRegistry:
contentRepositories:
default:
contentDimensions:
language:
label: Language
icon: icon-language
values:
'de':
label: DE
'en_US':
label: EN
- Create a hidden document in dimension de with content nodes on it
- publish it
- create and copy the document to the en_US dimension.
- You should see that your hidden document node from dimension de is visible and not hidden anymore.
Problem two
- Setup two content dimensions:
Neos:
Neos:
sites:
'*':
contentDimensions:
defaultDimensionSpacePoint:
language: de
resolver:
factoryClassName: Neos\Neos\FrontendRouting\DimensionResolution\Resolver\UriPathResolverFactory
options:
segments:
-
dimensionIdentifier: language
dimensionValueMapping:
de: de
en_US: en
ContentRepositoryRegistry:
contentRepositories:
default:
contentDimensions:
language:
label: Language
icon: icon-language
values:
'de':
label: DE
'en_US':
label: EN
- Create a document in dimension de with a few hidden content nodes on it
- publish it
- create and copy the document to the en_US dimension.
- You should see that your hidden content nodes from dimension de is visible and not hidden anymore.
Environment
- Flow: 9.0.2
- Neos: 9.0.4
- PHP: 8.2.28
Anything else?
You can reproduce this behavior i described above also on demo.neos.io
dlubitz