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.
On a field of type 'field collection',
I click 'Add new field collection item'
then fill in my 2 text fields.
If I then click 'Create field collection item' everything works fine.
If however, I accidentally just 'save and publish' (as I expect my content editors to do frequently),
I get TWO copies of the information entered:
Example:
FAQ Question
Test 1
FAQ Answer
Bad Answer 1
FAQ Question
Test 1
FAQ Answer
Bad Answer 1
Here's a link to a very short (1:34) video if the issue:
https://drive.google.com/file/d/0B0YviFGk2JjWdzIydzF4RTBfSDg/view?usp=sh...
Comments
Comment #2
mu5a5hi CreditAttribution: mu5a5hi commentedComment #3
ultimikeComment #4
tedbow@mu5a5hi thanks for posting the issue and providing the video
This is known issue with Inline Entity Form which Field Collection 8.x-2.x is built on. #2685219: Complex saves reference twice if left open and not required
Going to postpone till that 1 gets fixed but I am going to link the issue so we remember to make that IEF fix works in this case also.
Comment #5
vasyl.kletsko CreditAttribution: vasyl.kletsko commentedIt fixed in 8.x-2.x-dev
Comment #6
jmuzz CreditAttribution: jmuzz commented8.x-2.x is no longer being developed or supported.