When I try to add a multiple field/image field to the collection with an exact number of items (lets say 2 items), the entity add form looks broken, I can't upload the image or file, not only on the field collection fields, any file field or image attached to the original entity.
I tested on a clean installation
Drupal Core: 8.x.1.0
Field Collection: 8.x.1.0-alpha1 and 8.x.1.x-dev
Steps to reproduce
1. Create a new content type
2. Add a image/file field to the content type (this step is not needed, is just to check that breaks the other image fields)
3. Add a field collection to the entity
4. Add a image/file field to the collection (Limited to 2 values)
5. Try to upload any image/file
Comments
Comment #2
jmuzz CreditAttribution: jmuzz commentedThat is a bug in the file module. Try the patch in this issue.
Lets leave this open until they fix it so the patch can be found.
Comment #3
miro_dietikerThe core issue was committed to both 8.1 and 8.2 branch.
This issue needs to be retested. Hope it's fixed.
Comment #4
jmuzz CreditAttribution: jmuzz commentedDevelopment is moving to 8.x-3.x.
Comment #5
ram4nd CreditAttribution: ram4nd as a volunteer commented