Thanks to visit codestin.com
Credit goes to github.com

Skip to content

PR-49187 breaks BC for LDAP extraFields #49994

Closed
symfony/symfony-docs
#19658
@DemigodCode

Description

@DemigodCode

Symfony version(s) affected

6.2.8

Description

With #49187 the return value of extraFields have changed, if it's not the uidKey or passwordAttribute.

Before this PR each key was treated as single value and returned as that. Now each key which is not one of the above is treated as a multi value.

How to reproduce

Load an user and add "mail" attribute as extraField.

Old Behavior: single value
New behavior: multi value

Possible Solution

  • Updating the Upgrade Docs
  • Define single/multi valued keys

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