I have an Advanced Page content type with an entityrefence field using the Inline Entity Form module referencing another content type called section. Section has a paragraphs field with nested paragraphs items. When creating a new node, adding a second section and then clicking and adding a paragraph item clones the same nested paragraph items from the first section.
I've added this patch which addressed other issues but not this. https://www.drupal.org/node/2564327
There is also a fixed issue of Inline Entity Form doing something similar with multiple nested inline entity forms. https://www.drupal.org/node/2206197
Comment | File | Size | Author |
---|---|---|---|
#5 | inline entity form issue.png | 358.67 KB | maithili11 |
#3 | StoryFragment_1_1__Gebiedsinformatie_-_gebied_1_bewerken___AERIUS_Monitor.png | 284.84 KB | scuba_fly |
screencapture-node-add-advanced-page.png | 404.02 KB | jphelan |
Comments
Comment #2
jphelan CreditAttribution: jphelan commentedThis is also an issue in the D8 version.
Comment #3
scuba_flyRunning into the same issue on drupal 8.
I think this is more an inline form issue, then paragraphs?
It's kinda hard to explain, so adding a screenshot.
Comment #4
phannphong CreditAttribution: phannphong commentedI have the same issue but with ECK module. So I think this issue related to Inline Entity Form.
Related to this issue https://www.drupal.org/project/inline_entity_form/issues/2653574
Comment #5
maithili11 CreditAttribution: maithili11 as a volunteer and at Axelerant commentedI am still facing the same issue on editing nested (sub) paragraph
I think it's related to Inline Entity Form.
When I change the view mode from "
Inline entity form - Complex - Table View Mode
" to "Inline entity form - Simple
", then it's working fine.Please check attached screenshot
Comment #6
smustgrave CreditAttribution: smustgrave at Mobomo commentedThe website encountered an unexpected error. Please try again later.
Drupal\Core\Entity\EntityStorageException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'langcode' cannot be null: INSERT INTO "paragraphs_item" ("revision_id", "type", "uuid", "langcode") VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3); Array ( [:db_insert_placeholder_0] => [:db_insert_placeholder_1] => text_field [:db_insert_placeholder_2] => 48bd2e43-8cc7-4b60-894a-3ba3caebf24d [:db_insert_placeholder_3] => ) in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 810 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
This is the error I get when trying to embed nested paragraphs.