Hi
I’m rebuilding my site on version 2.3.2. (had same errors on ealier versions)
The Pages have 3 ContentCollection top, main and footer (in this order).
In both, the NodeType configuration and in the TS they are declared in that order.
Further more they have position statements.
./flow node:repair --dry-run
shows, that the order is not correct. (I also looked at the exported XML) Also tried to change the PrimaryContent of ‘main’ to a normal ContentCollection.
Nothing helps (so far).
In the Neos stucture tree they appear in the correct order.
I had some strange effects in my last installation, so I’m keen to make every thing clean now.
Child node "footer" in "/sites/website" does not have a stable identifier
1 identifiers of child nodes need to be updated
Child node "footer" in "/sites/website" does not have a stable identifier
1 identifiers of child nodes need to be updated
Checking for child nodes that need reordering ...
Should move node named "main" after node named "top" in "/sites/website"
Should move node named "footer" after node named "main" in "/sites/website"
Should move node named "main" after node named "top" in "/sites/website/node-57c5a7ea2058e"
Should move node named "main" after node named "top" in "/sites/website/node-57c5a930bbbc5"
Should move node named "main" after node named "top" in "/sites/website"
Should move node named "footer" after node named "main" in "/sites/website"
TypoScript
top = ContentCollection {
nodePath = 'top'
@position = 'before main'
}
main = ContentCollection {
#main = PrimaryContent {
nodePath = 'main'
}
// Shared footer wird in der homePage gespeichert
footer = ContentCollection {
nodePath = ${q(site).children('footer').property('_path')}
collection = ${q(site).children('footer').children()}
}
NodeTypes
'Eg.Website:Page':
ui:
label: 'Standard-Seite'
icon: 'icon-file'
help:
message: 'Seite für den allgemeinen Gebrauch.'
superTypes:
'TYPO3.Neos:Document': TRUE
childNodes:
top:
position: 'before main'
type: 'TYPO3.Neos:ContentCollection'
constraints:
nodeTypes:
# '*': FALSE
'Eg.Website:Teaser': TRUE
'Eg.Website:TeaserReference': TRUE
'Eg.Website:RandomTeaser': TRUE
main:
type: 'TYPO3.Neos:ContentCollection'
constraints:
nodeTypes:
'TYPO3.Neos.NodeTypes:Page': FALSE
'Eg.Website:HomePage': FALSE
And
'Eg.Website:HomePage':
ui:
label: 'Start-Seite'
icon: 'icon-globe'
help:
message: 'Die Homepage. (Es kann nur Eine geben)'
superTypes:
'Eg.Website:Page': TRUE
childNodes:
footer:
position: 'after main'
type: 'TYPO3.Neos:ContentCollection'
constraints:
nodeTypes:
'*': FALSE
'TYPO3.Neos.NodeTypes:Headline': TRUE
'TYPO3.Neos.NodeTypes:Text': TRUE
constraints:
nodeTypes:
'TYPO3.Neos.NodeTypes:Page': FALSE
'Eg.Website:HomePage': FALSE
What is going wrong here? Any ideas?
By the way: what is the purpose (advantage) of PrimaryContent.
Thanx in advance
Klaus
Update:
The same thing happend always with the multiColumn NodeTypes. The columns 0,1 and 2 (3Colunms) appear in the reversed order.