owncloud / owncloud/ocis

the number of the identical share isn't now shown until reload

Open
#4,675 0 comments 0 reactions 0 assignees View on GitHub
Type:Bug
Dominant language
Go
Stars
2.1k
Forks
274
Avg merge
2d 1h
Merged PRs (30d)
103

Description

## Describe the bug

the number of the identical share isn't now shown until reload

## Steps to reproduce

Steps to reproduce the behavior:

1. As user `einstein` make a folder `foo` and share it to `moss`
2. As user `moss` accept the share
3. As user `marie` make a folder `foo` and share it to `moss`
4. As user `moss` accept the share

## Expected behavior
The UI should the update with the resource name `foo` and `foo (1)`
![acceptsimilarshareafterreload](https://user-images.githubusercontent.com/41103328/192469103-9a398a86-8d18-42f1-887d-1f6d7fb1bdbc.png)

## Actual behavior
This is displayed after the second share is accepted
![acceptSimilarShare](https://user-images.githubusercontent.com/41103328/192469187-bcc34732-7236-4296-88fd-93cc9462dbf6.png)

Only after reload actual name is displayed

![acceptsimilarshareafterreload](https://user-images.githubusercontent.com/41103328/192469345-e1f41553-9c41-4b94-bd04-cc6bfaefa516.png)

## Setup

Please describe how you started the server and provide a list of relevant environment variables or configuration files.

```console
OCIS_XXX=somevalue
OCIS_YYY=somevalue
PROXY_XXX=somevalue
```

## Additional context
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.