Skip to content

Symfony's form component cleanup. #27

@bartlomiej84

Description

@bartlomiej84

After upgrading to newest version of symfony's master branch, I get following error on forms using this bundle

The form's view data is expected to be of type scalar, array or an instance of \ArrayAccess, 
but is an instance of class Symfony\Component\HttpFoundation\File\File. 
You can avoid this error by setting the "data_class" option 
to "Symfony\Component\HttpFoundation\File\File" or by adding a view 
transformer that transforms Symfony\Component\HttpFoundation\File\File to 
scalar, array or an instance of \ArrayAccess.

Is anyone planning to make PR for this issue ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions