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

Make sure share names are in sync with server #8546

Merged
merged 1 commit into from
Apr 13, 2021
Merged

Make sure share names are in sync with server #8546

merged 1 commit into from
Apr 13, 2021

Conversation

fmoc
Copy link
Contributor

@fmoc fmoc commented Apr 9, 2021

Removing the name of a share link does not yield an error, but causes the server to automatically assign the link ID. The UI so far didn't show this, however. Rather than disallowing empty link names in the UI, we'll follow a "server makes it right" approach and trust it to either return an error or accept the request. In the latter case (which is what is experienced when emptying the name), to show up-to-date information client side, we have to re-fetch the share names from the server to show accurate information.

Fixes #7549.

Removing the name of a share link does not yield an error, but causes the server to automatically assign the link ID. The UI so far didn't show this, however. Rather than disallowing empty link names in the UI, we'll follow a "server makes it right" approach and trust it to either return an error or accept the request. In the latter case (which is what is experienced when emptying the name), to show up-to-date information client side, we have to re-fetch the share names from the server to show accurate information.
@fmoc fmoc merged commit 8c4983f into master Apr 13, 2021
@delete-merged-branch delete-merged-branch bot deleted the work/issue-7549 branch April 13, 2021 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Public links - missing error message when public link name is empty
2 participants