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

Bug in the identity impersonalization part of the security package #36174

Copy link
Copy link
Closed
@AllanFousse

Description

@AllanFousse
Issue body actions

Symfony version(s) affected: 5.0.5

Description

Impersonalisation not working if we use Uuid for username in Postgresql database

How to reproduce

use uuid type instead string in postgresql database for username

Possible Solution
generate à uuid string instead of pure random string line 152 of SwitchUserListener.php

Additional context
the error is SQLSTATE[22P02]: Invalid text representation

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.