- Issue created by @lavanyatalwar
- 🇮🇳India lavanyatalwar
lavanyatalwar → changed the visibility of the branch 3525698-content-creation-fails to hidden.
While working with the Paragraphs module, I encountered an error when configuring a Paragraph field to reference Content (Node) instead of Paragraph types.
The issue occurs specifically when enabling the "Create referenced entities if they don't already exist" option. When trying to create a piece of content using this setup, the form fails to submit, and an error is logged in Recent log messages (/admin/reports/dblog). No content is saved.
A screen recording is attached for reference.
Go to Structure > Content types, and edit any existing content type (e.g., Article).
Add a new field of type Paragraph.
In the field settings, under "Type of item to reference", change the target type from Paragraph to Content (Node).
Choose one or more content types to reference (e.g., Article).
Check the option "Create referenced entities if they don't already exist."
Save the field settings and the content type.
Go to Content > Add content, and try creating a node of that content type.
Fill in the required fields and attempt to save the content.
Content should be created successfully.
Referenced content entities (nodes) should be auto-created if they don't already exist.
An error is thrown during form submission.
The node is not saved.
An error message is logged in the system log (/admin/reports/dblog).
Screen recording attached showing the full reproduction steps and the resulting error.
Active
1.9
Experimental Widget
lavanyatalwar → changed the visibility of the branch 3525698-content-creation-fails to hidden.