Skip to content

4.4 and MongoDB ODM DoctrineType #34581

Closed
@Romaxx

Description

@Romaxx

Symfony version(s) affected: 4.4 (4.3 was ok)

Description
Argument 1 passed to Symfony\Bridge\Doctrine\Form\Type\DoctrineType::getQueryBuilderPartsForCachingHash() must be an instance of Doctrine\ORM\QueryBuilder, instance of Doctrine\ODM\MongoDB\Query\Builder given, called in /usr/local/www/vendor/symfony/doctrine-bridge/Form/Type/DoctrineType.php on line 125

How to reproduce
Create FormType with ODM entity extending DoctrineType

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