Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
Closed
@skornev

Description

@skornev
Issue body actions
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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.