8000 Form returns array instead of object, despite data_class option being properly set. · Issue #3753 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Form returns array instead of object, despite data_class option being properly set. #3753
Closed
@umpirsky

Description

@umpirsky

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 522B \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

      0