Skip to content

PeoplePicker : showing wrong selected users #2076

@moudhafersalhi

Description

@moudhafersalhi

Thank you for reporting an issue, suggesting an enhancement, or asking a question. We appreciate your feedback - to help the team understand your
needs please complete the below template to ensure we have the details to help. Thanks!

Please check out the documentation to see if your question is already addressed there. This will help us ensure our documentation is up to date.

Category

[ ] Enhancement

[X ] Bug

[ ] Question

Version

Please specify what version of the library you are using: [ 3.20 ]

If you are not using the latest release, please update and see if the issue is resolved before submitting an issue.

Expected / Desired Behavior / Question

I search for a user in the peoplePicker and select the user. I expect that the same user is shown

Observed Behavior

I search for a user who has a nromal acocunt and an admin account. The normal account ist [email protected], the admin account ist [email protected].
The Adm account has OtherMails set to [email protected]. The drop down shows both users(which is correct), but when i select the normal account, suddenlt the people picker shows the Admin.
My explanation is that there is a call to https://britaglobal.sharepoint.com/sites/projectplatform/_api/SP.UI.ApplicationPages.ClientPeoplePickerWebServiceInterface.clientPeoplePickerSearchUser with QueryText [email protected] and MaximumEntitySuggestions:1. This API returns the Admin account because the admin account has [email protected] as OtherMails

Steps to Reproduce

If you are reporting an issue please describe the steps to reproduce the bug in sufficient detail to allow testing. If you are making
a suggestion or asking a question delete this section.

Submission Guidelines

Delete this section after reading

  • All suggestions, questions and issues are welcome, please let us know what's on your mind.
  • Remember to include sufficient details and context.
  • If you have multiple suggestions, questions, or bugs please submit them in separate issues so we can track resolution.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions