I've created a list of content programmatically and has been created without problems. My content type has a nested content property, and when I try to access that prop I got an error with the message "Empty guid".
This problem disappear when a go to a content node and click "Save and Publish", but I've a lot of content, I can't do it one by one. Any help?
For anyone else coming across this post - we had a similar issue and it worked out to be when pasting nested content from another nested content block.
To resolve this, we have to past the content, then expand every nested content block to show the data that was pasted in. If we hit save and publish then it all works properly.
Nested Content Empty guid
I've created a list of content programmatically and has been created without problems. My content type has a nested content property, and when I try to access that prop I got an error with the message "Empty guid".
This problem disappear when a go to a content node and click "Save and Publish", but I've a lot of content, I can't do it one by one. Any help?
Maybe you figured it out by now.
I just had the same problem and found out it was a missing key in each nested item. Add it like this :
Thans for replay, I'll try this.
Thank you, this fixed my issue too.
I'm having this issue now. Where did you put this code?
For anyone else coming across this post - we had a similar issue and it worked out to be when pasting nested content from another nested content block.
To resolve this, we have to past the content, then expand every nested content block to show the data that was pasted in. If we hit save and publish then it all works properly.
is working on a reply...