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

Form returns array instead of object, despite data_class option being properly set. #3753

Copy link
Copy link
Closed
@umpirsky

Description

@umpirsky
Issue body actions

This happens if second parameter is not passed to $this->container->get('form.factory')->create().

I tried to create a test case for it in Symfony\Component\Form\Tests\FormFactoryTest, but I get Symfony\Component\Form\Exception\FormException: Could not load type "text". Looks like there is no such type of tests, so probably some setup need to be done first.

I think this is critical bug in forms, and it exists for a while now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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.