Hi
The situation is, that my site works perfectly fine in the backend, but not in the frontend. Just an visual example:
And that’s the Frontend:
The method backReferences(‘modul’).get() return an empty array in the frontend, in the backend it’s working.
Yesterday I realized, hat even the “main” at the site page is not rendered correctly in the frontend, but in the backend.
I have multiple sites but was asked to keep them 100% independent after I started setting everything up.
> ./flow configuration:show --path Neos.Neos.sites
> Configuration "Settings: Neos.Neos.sites":
>
> '*':
> preset: default
> contentDimensions:
> defaultDimensionSpacePoint:
> language: de
> resolver:
> factoryClassName: Neos\Neos\FrontendRouting\DimensionResolution\Resolver\UriPathResolverFactory
> options:
> segments:
> -
> dimensionIdentifier: language
> dimensionValueMapping:
> de: de
> fr: fr
> it: it
> en: en
and
/opt/php82/bin/php ./flow site:list
±-----------±----------±-----------------±-------+
| Name | Node name | Resource package | Status |
±-----------±----------±-----------------±-------+
| HERMES VBS | hermes | ICTpark.Hermes | online |
±-----------±----------±-----------------±-------+
The node name was “hermes-vbs” when I started. I changed it to have the same site node name everywhere, although the sites are completly independent.
I changed the name of the site node in the UI and then changed the nodename everywhere in the DB where I could find it and did a replayall:
events-payload:
{"workspaceName":"live","contentStreamId":"52f2294d-3e87-4ab7-95f3-c3ebb81fb5d2","nodeAggregateId":"11fac35c-7811-4462-a8b4-48aff0982985","nodeTypeName":"ICTpark.Hermes:Document.Homepage","originDimensionSpacePoint":{"language":"de"},"succeedingSiblingsForCoverage":[{"dimensionSpacePoint":{"language":"de"},"nodeAggregateId":null}],"parentNodeAggregateId":"97887692-e7d5-418d-8f03-364f4f40fce3","nodeName":"hermes","initialPropertyValues":{"uriPathSegment":{"value":"home","type":"string"},"title":{"value":"HERMES VBS","type":"string"}},"nodeAggregateClassification":"regular","nodeReferences":[]}
{"workspaceName":"live","contentStreamId":"52f2294d-3e87-4ab7-95f3-c3ebb81fb5d2","nodeAggregateId":"11fac35c-7811-4462-a8b4-48aff0982985","newNodeName":"hermes"}
events-metadata:
{"commandClass":"Neos\\ContentRepository\\Core\\Feature\\NodeCreation\\Command\\CreateNodeAggregateWithNodeAndSerializedProperties","commandPayload":{"workspaceName":"live","nodeAggregateId":"11fac35c-7811-4462-a8b4-48aff0982985","nodeTypeName":"ICTpark.Hermes:Document.Homepage","originDimensionSpacePoint":{"language":"de"},"parentNodeAggregateId":"97887692-e7d5-418d-8f03-364f4f40fce3","initialPropertyValues":{"title":{"value":"HERMES VBS","type":"string"}},"succeedingSiblingNodeAggregateId":null,"nodeName":"hermes","tetheredDescendantNodeAggregateIds":{"teaser":"90604f85-2806-4472-9534-d0eef0143aec","main":"59f739c0-fe49-499c-9bc4-c70cdd3d3283","notfound":"e2093c20-7ecb-455b-898d-a0788e4a0c22","notfound\/main":"0b6c6cbd-485e-4469-8303-ef452c56b3c0","footer":"37361c15-d1b7-4397-84e2-7f398969167c"},"references":[]},"initiatingUserId":"system","initiatingTimestamp":"2024-12-02T15:23:45+01:00"}`
"commandClass":"Neos\\ContentRepository\\Core\\Feature\\NodeRenaming\\Command\\ChangeNodeAggregateName","commandPayload":{"workspaceName":"live","nodeAggregateId":"11fac35c-7811-4462-a8b4-48aff0982985","newNodeName":"hermes"},"initiatingUserId":"77e72f4b-5fbe-42bc-8b20-23d4a2838ba2","initiatingTimestamp":"2024-12-03T08:34:10+01:00"}
Maybe that was not the best idea But I don’t understand why it’s running in the backend, but not in the frontend
PS: references are working, but no backreferences