Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Müller <fmueller@owncloud.com>2021-04-09 15:40:04 +0300
committerFabian Müller <80399010+fmoc@users.noreply.github.com>2021-04-13 15:36:22 +0300
commit8c4983f13a94c0af30c7c3af77013b630696b9f9 (patch)
tree8db2595086887dfb730ebae49778b9a416cdaec3 /changelog/unreleased
parent3e34190d3503a558552292dbd9da60f93d0f6fb9 (diff)
Make sure share names are in sync with server
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.
Diffstat (limited to 'changelog/unreleased')
-rw-r--r--changelog/unreleased/75499
1 files changed, 9 insertions, 0 deletions
diff --git a/changelog/unreleased/7549 b/changelog/unreleased/7549
new file mode 100644
index 000000000..ee77ef96f
--- /dev/null
+++ b/changelog/unreleased/7549
@@ -0,0 +1,9 @@
+Bugfix: Keep share link names in sync with server
+
+When the name of a share link is changed, e.g., to an
+empty string, the server may not apply this, but assign
+a fallback value (e.g., the link ID). The client therefore
+needs to re-check the name after sending a change request.
+
+https://github.com/owncloud/client/issues/7549
+https://github.com/owncloud/client/pull/8546