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

Impersonation exit logs out user (followup) #47837

Copy link
Copy link
Closed
@simonsolutions

Description

@simonsolutions
Issue body actions

Symfony version(s) affected

6.1.5

Description

As already described in #47356 I looked further into the problem and found out that it's about the user entity. With an empty project the impersonation and exiting works like expected. but with the fields of the user entity extended the error occurs also in the demo project.

How to reproduce

https://github.com/simonsolutions/impersonatebug

connect to database
initiale app (composer)
load fixtures (add users to database)
login to conference controller with "admin" and "start1"
impersonate user1
exit impersonation and then the error appears

Possible Solution

No response

Additional Context

No response

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.