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?

CommentFileSizeAuthor
stacktrace.txt4.24 KBsylvainar
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sylvainar created an issue. See original summary.

Berdir’s picture

That'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.

miro_dietiker’s picture

As 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.

sylvainar’s picture

You'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!

miro_dietiker’s picture

Category: Bug report » Support request
Status: Active » Fixed

Marking a fixed support request here. Reopen as a bug in field collection project if you need to care about the bug.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.