Skip to content

File Type is now empty when updating (in 3.3) #24792

Closed
@skornev

Description

@skornev
Q A
Bug report? yes
Feature request? no
BC Break report? yes
RFC? no
Symfony version 3.3.10

After upgrading from 3.2 to 3.3. Files collection is now just empty in controller when updating entity without selecting new files. So it just removes the file entities. It used to work before 3.3 now it fails.
Maybe I missed something and it's planned changes in form file type behavior?

Here is a demo which shows the issue https://github.com/skornev/vichbundle-sandbox-not-cp-symfony3.3

This issue was raised here dustin10/VichUploaderBundle#776.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions