You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Invite form clears recipients even when adding the share fails #4185
I understand this is a bug report and questions should be posted in the Community Discussions
I searched issues and couldn’t find anything (or linked relevant results below)
Bug Description
When adding a share fails, the invite form still clears the selected recipients and the expiration date, so they have to be picked again. InviteCollaboratorForm.vue resets both without looking at the errors.
Reproduction Steps
Open ⋮ > Share on a file
Pick two recipients
Make POST …/items/{id}/invite fail for one or both
Click Share
Expected Outcome
The error toast appears, and the recipients whose share failed stay selected together with the expiration date.
Actual Outcome
The toast appears, but all recipients are removed and the expiration date is reset, also the one whose share failed.
Activity