diff --git a/changelog/unreleased/fix-resource-name.md b/changelog/unreleased/fix-resource-name.md new file mode 100644 index 00000000000..888368cce2a --- /dev/null +++ b/changelog/unreleased/fix-resource-name.md @@ -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 diff --git a/internal/grpc/services/sharesstorageprovider/sharesstorageprovider.go b/internal/grpc/services/sharesstorageprovider/sharesstorageprovider.go index 012ee4bcef4..432bcb15cec 100644 --- a/internal/grpc/services/sharesstorageprovider/sharesstorageprovider.go +++ b/internal/grpc/services/sharesstorageprovider/sharesstorageprovider.go @@ -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) }