Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Sharing NG] Inviting multiple people does not work #8402

Closed
JammingBen opened this issue Feb 8, 2024 · 1 comment
Closed

[Sharing NG] Inviting multiple people does not work #8402

JammingBen opened this issue Feb 8, 2024 · 1 comment

Comments

@JammingBen
Copy link
Contributor

Describe the bug

Inviting multiple people at the same time via the recipients prop does not work.

Steps to reproduce

  1. Create a file
  2. Share that file with 2 or more users (payload: {"roles":["b1e2218d-eef8-4d4c-b82d-0f1a1b48f3b5"],"recipients":[{"objectId":"f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c","@libre.graph.recipient.type":"user"},{"objectId":"058bff95-6708-4fe5-91e4-9ea3d377588b","@libre.graph.recipient.type":"user"}]} ).

Expected behavior

The file should be shared with all the given users.

Actual behavior

The server throws an error Key: 'DriveItemInvite.Recipients' Error:Field validation for 'Recipients' failed on the 'len' tag.

@rhafer
Copy link
Contributor

rhafer commented Feb 8, 2024

This is basically a duplicate of #7962. That ticket has a lengthy discussion about why we don't currenty support adding mulitple recipients at once.

The plan is to add it in the future though.

@rhafer rhafer closed this as completed Feb 8, 2024
@micbar micbar added this to the Release 5.0.0 milestone Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants