Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi guys !
I'm currently using this module on a project, and I have an issue.
When I embed a field group in a paragraph, I can't preview the content, and it ends up throwing a massive error (refer to stack trace enclosed), but only on the creation of the content, or when I append a paragraph containing a field group to an existing node.
When the content is already created, or if I don't add any paragraph containing field groups, everything goes well.
Any idea?
Comment | File | Size | Author |
---|---|---|---|
stacktrace.txt | 4.24 KB | sylvainar |
Comments
Comment #2
BerdirThat's field collection, not field group that is throwing that error.
And that seems like a bug in field_collection, it apparently can't handle a case when there is no parent yet and we're checking access.
I would suggest you move that issue to field_collection. Or use nested paragraphs instead of field collection.
Comment #3
miro_dietikerAs field collection is deprecated in favor of paragraphs, i highly recommend not to combine both.
Happy to hear why you favorised field collection for some specific something instead of nested paragraphs. We think paragraphs has reached feature parity a while ago and offers more things such as multilingual support.
Comment #4
sylvainar CreditAttribution: sylvainar commentedYou're right, using field group instead of nested paragraph is pointless, however we didn't really see that we could have made nested paragraphs when we started the project seven month ago.
Now that our customer has started to insert content in the website, going back to nested paragraphs may be quite hard, I'll discuss it with the rest of the team this week.
Thanks for your support!
Comment #5
miro_dietikerMarking a fixed support request here. Reopen as a bug in field collection project if you need to care about the bug.