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

[DoctrineBridge] EntityType memory leak in functional tests #40965

Copy link
Copy link
Closed
@kbond

Description

@kbond
Issue body actions

Symfony version(s) affected: 5.2 (also 5.1)

Description
When running multiple functional tests that request pages that include forms using an EntityType, there is a memory leak. Does not occur with symfony/doctrine-bridge 5.0.x.

How to reproduce
Reproducer (readme has instructions).

Possible Solution
I'm looking for help tracking down the problem. I think it's caused by #34550 and/or #30994 but I'm not positive.

I think, in your tests, when browsing multiple pages, one or more of which has a form that includes an EntityType, it is not cleaned up/reset between requests.

Additional context

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.