[Sharing-Ng] Sharing multiple resources by multiple users with same resource name, the name updating with suffix(1)
is inconsistent
#8471
Labels
suffix(1)
is inconsistent
#8471
Describe the bug
When two users share a resource with same name to a user, then the expected behavior is that for the sharee user, the second share should have
suffix(1)
in the resource name, for example,test-folder (1)
. In case two usersshare multiple resources
, then there is inconsistency in the number inside the braces.Steps to reproduce
As user
marie
test-folder
and a filetest-file.txt
in personal spacetest-folder
andtest-file
to usereinstein
As user
moss
test-folder
and a filetest-file.txt
in personal spacetest-folder
andtest-file
to usereinstein
As user
einstein
Expected behavior
The second shared resources should have
suffix(1)
in resource name. The resources foreinstein
should be listed as:Actual behavior
Only one of the shared resource have
suffix(1)
but other resource have other number other than1
, likeThe number is not fixed for the resource. Sometimes it is listed as
test-file (3).txt
and sometimes listed astest-file (2).txt
Screenshot
The text was updated successfully, but these errors were encountered: