microsoft-graph-toolkit icon indicating copy to clipboard operation
microsoft-graph-toolkit copied to clipboard

[BUG] PeoplePicker crashes when defaultSelectedGroupIds is not valid

Open phettz opened this issue 5 years ago • 1 comments

Describe the bug If you add groupids that does not exist to defaultSelectedGroupIds the picker crashes.

To Reproduce Steps to reproduce the behavior:

  1. Add a guid that does not exist as defaultSelectedGroupIds

Expected behavior The picker should work, either by dropping the group id from the picker or tag it as deleted or somehitng.

Screenshots image

Environment (please complete the following information):

  • OS: win10
  • Browser Chrome 91.0.4472.77
  • Framework react
  • Context SharePoint
  • Version 2.2.0
  • Provider { Providers, SharePointProvider } from '@microsoft/mgt';

phettz avatar Jun 14 '21 12:06 phettz

Hello phettz, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌

ghost avatar Jun 14 '21 12:06 ghost