Dimensions - Changing structure of translated Content-Nodes causes them to disappear
#3.340 aberto em 3 de mai. de 2021
Métricas do repositório
- Stars
- (267 estrelas)
- Métricas de merge de PR
- (Métricas PR pendentes)
Description
Description
After moving a Neos.Demo:Content.Columns.Two (with translated Neos.Demo:Content.Text in its columns) into the column of another Neos.Demo:Content.Columns.Two (in the main/fallback-dimension) the Neos.Demo:Content.Text-nodes disappear in the frontend ( in the other dimension).
Tested using the demo-site with minimal changes.
Steps to Reproduce
Preparation
Changing the constraints of NodeTypes.Collection.Content.Column.yaml to enable testing with minimal demo-setup:
constraints:
nodeTypes:
'*': true
Changing the Dimensions in Settings.yaml to:
contentDimensions:
language:
label: 'Language'
icon: 'icon-language'
default: de
defaultPreset: de
presets:
de:
label: 'DE'
values: [ 'de' ]
uriSegment: ''
en:
label: 'EN'
values: [ 'en', 'de' ]
uriSegment: 'en'
(and then ./flow node:migrate 20150716212459, cache:flush, etc...)
Steps
- Create new Page called
Testin languagede - create a
Neos.Demo:Content.Columns.Twoinmain2.1. putNeos.Demo:Content.Textincolumn0with textde text 12.2 putNeos.Demo:Content.Textincolumn1with textde text 2 - publish all changes to live
- switch language to 'en'
- translate texts to
en text 1anden text 2 - publish all changes to live
- switch language back to 'de'
- create a second
Neos.Demo:Content.Columns.Twoinmain - put the first
Neos.Demo:Content.Columns.Twoincolumn0of the secondNeos.Demo:Content.Columns.Two - publish all changes to live
- open the page in the frontend
- switching language to 'en'
Expected behavior
The page should look like it does in the backend, with all nodes visible.
Actual behavior
The two Neos.Demo:Content.Text nodes are not rendered. The two Neos.Demo:Content.Columns.Two are rendered, though.
Affected Versions
Neos: 5.3, 7.1