Skip to content

Commit

Permalink
Merge pull request #4463 from 2403905/issue-8242
Browse files Browse the repository at this point in the history
fix the resource name
  • Loading branch information
2403905 authored Jan 19, 2024
2 parents b053838 + dfa6eb4 commit 9641661
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions changelog/unreleased/fix-resource-name.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Bugfix: Fix the resource name

We fixed a problem where after renaming resource as sharer the receiver see a new name.

https://github.com/cs3org/reva/pull/4463
https://github.com/owncloud/ocis/issues/8242
Original file line number Diff line number Diff line change
Expand Up @@ -859,6 +859,7 @@ func (s *service) ListContainer(ctx context.Context, req *provider.ListContainer
OpaqueId: share.Share.Id.OpaqueId,
}
info.Path = filepath.Base(share.MountPoint.Path)
info.Name = info.Path

infos = append(infos, info)
}
Expand Down

0 comments on commit 9641661

Please sign in to comment.