November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Could be worth having some custom validation on the publish page event to check that the list of content references are not null so that it can alert editors that the list is empty before pulishing content.
Hi
In the mid of upgradring to CMS 11 to 12.
I have a page with a IList<ContentReference> property that comes up empty in the editor, but which I know has a list of references.
Somehow 2 of the references in the list have become empty ones, is this the reason?
I get no error in the logs.
This and a couple of other pages and properties have some kind of 2-way association set up long ago, eg if you edit a certain property on one page, that change is reflected in the same property on the associated page, etc. This is all done in a publish event handler, in which I can clearly see the "old" property has values, but the newly published is empty (because the editor is saving an empty list, obviously).
So the main question, is the property loading supposed to fail completely and silently if there are empty references in a reference list? 😶
And a follow up question; is there a better way to implement this kind of associations, eg with the help of Find/Search & Navigation?
Thanks!
Update:
So, switching between versions do trigger an error in the log: