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.
node (location)
- field collection (field_opening_hours) (max limit : 1)
- field collection (field_sunday) (max limit : unlimit)
- text field (field_hours)
- text field (field_hours2)
devel generate on location node for 1 item, result : 1 node is created correctly , but when you look at the field collection database table , there are 2 field_opening_hours items, when you delete the generated node , still have 1 field_opening_hours item left in database.
I think this is because field_collection_field_insert trying to clone a new field_collection causing this issue.
Comment | File | Size | Author |
---|---|---|---|
#2 | field_collection-develgenerate-2371639.patch | 384 bytes | kt2ssh |
Comments
Comment #1
kt2ssh CreditAttribution: kt2ssh commentedComment #2
kt2ssh CreditAttribution: kt2ssh commented