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.
Steps to reproduce:
1) edit a node containing at least one field collection item.
2) upload one or several files using the bulk upload widget.
Result: the last FC item listed in step 1 has been overwritten by the first FC item created in step 2.
-------
My setup:
- Field Collection Bulk Upload 7.x-1.0-alpha1
- Plupload integration 7.x-2.x-dev
- File Field Sources 7.x-1.8
Comment | File | Size | Author |
---|---|---|---|
#6 | field_collection_bulkupload-fix_last_item_disappearing-2098649-6.patch | 1.2 KB | ethan.han777 |
Comments
Comment #1
rombapa CreditAttribution: rombapa commentedHas anyone had a chance to reproduce this?
Comment #2
rombapa CreditAttribution: rombapa commentedComment #3
rombapa CreditAttribution: rombapa commentedMy first description of the issue was incorrect: field collection items must already exist in the node in order to reproduce the problem (i.e. the node must be saved with one or more FC items then re-edited).
Comment #4
Mackee CreditAttribution: Mackee commentedSame here
Comment #5
abrar_arshad CreditAttribution: abrar_arshad commentedAdding the below line before #195 solves the problem for me
Comment #6
ethan.han777 CreditAttribution: ethan.han777 commentedHi,
I made a patch for this issue.
Comment #7
ethan.han777 CreditAttribution: ethan.han777 commentedComment #8
rombapa CreditAttribution: rombapa commentedThe patch works for me. Thanks ethan.han777.
Comment #9
joseph11 CreditAttribution: joseph11 commentedPatch works for me. Thanks.
Comment #10
dxx CreditAttribution: dxx commentedPatch works for me.
Comment #11
tom.burton CreditAttribution: tom.burton at Interdruper commentedPatch #6 worked also for me. Thx.
Comment #13
ram4nd CreditAttribution: ram4nd as a volunteer commented