And i also noticed it only happens when somewhere on the page sits a “Insert content reference” element.
I tried this on 2 other sites after i updated them to Neos 2.2.2 but could not reproduce it.
I have no idea why it only happens on this specific neos page. i checked and the Insert content reference element was not modified by me.
I’m sure that you can invertedly reproduce this error by adding rel=“typo3:content-collection” attribute to the wrapping html container. The error also will disapear if you let your nodetype inherit from neos content collection prototype.
i am 100% sure it is triggered here by the Insert content reference element.
What i tried:
create new empty page.
Add Headline with some text.
click on Headline and try to add an element under the headline = works.
add a content reference element somewhere. Didnt selected any element to reference. so it still displays “No references selected”
I will try it again in a empty neos install with same page package. If the issue is there too it has to do something with the page package, but no idea what as i didn’t do anything with the content reference element and definetly didn’t add rel=“typo3:content-collection”
If the issue happens in the container too i can provide that container to someone who might have more experience in what is going wrong there.
Sorry to post so much about this, but i have no good idea what is going wrong here.
I copied the whole Database from the Live-Server (mittwald hosting) to my container, including all resources. (the package is the same anyway) But i still could not reproduce it in my container.
Now i noticed the following exception from the live-server:
Now the only property arrays are in the page nodetype. two array<TYPO3\Media\Domain\Model\Asset>. one for images, the other one for html5 video. (but both are configured the same) and both where empty.
Now i just put 1 image and 1 video into the asset property, and tested again. And see there, it worked again.
Now i removed the elements again and it still works.
Not sure how and why it stopped working, but that fixed it.