Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
It returns warning
Warning: Creating default object from empty value in Drupal\field_collection\Entity\FieldCollectionItem->createDuplicate() (line 211 of /srv/modules/field_collection/src/Entity/FieldCollectionItem.php).
if this method exists and works perfect for me without it.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2768161-field_collection-create-duplicate-revert-2.patch | 715 bytes | id.tarzanych |
|
Comments
Comment #2
id.tarzanych CreditAttribution: id.tarzanych at Internetdevels commentedAttaching patch that worked for me
Comment #4
jmuzz CreditAttribution: jmuzz commentedYou're right, the functionality it was trying to implement is covered by the overridden method.
Thanks for the patch.