Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
file system
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Sep 2011 at 13:13 UTC
Updated:
29 Jul 2014 at 19:57 UTC
Try following
Create a new content time
- Add a field (field_files_1) - and set Number of values to anything bigger than 1 (eg. unlimited)
- Add another field (field_files_2) - and set Number of values to 1.
Create a new node.
Upload at least 2 files in field_files_1. And upload 1 file ind field_files_2. When you submitting (or previewing) the form - only the latest upload in field_files_1 are saved.
However - if you don't upload anything to field_files_2 all files in field_files_1 are saved.
It seems that multiple file uploads in the same node form are conflicting someway.
/Johan
Comments
Comment #1
pingers commentedConfirmed. I.e. followed the steps and could reproduce the exact behaviour described on 7.x-dev.
Now why? :)
After editing the content type and uploading the second file a second time, it saved correctly.
Setting to 8.x-dev as that's where bugs are fixed.
Comment #2
catchSee #1059268: Files are lost when adding multiple files to multiple file fields at the same time.