@@ -33,6 +33,7 @@ import (
3333 rpc "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1"
3434 provider "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1"
3535 typesv1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1"
36+ "github.com/mitchellh/mapstructure"
3637 "github.com/owncloud/reva/v2/pkg/appctx"
3738 "github.com/owncloud/reva/v2/pkg/conversions"
3839 ctxpkg "github.com/owncloud/reva/v2/pkg/ctx"
@@ -47,7 +48,6 @@ import (
4748 "github.com/owncloud/reva/v2/pkg/storage/fs/registry"
4849 "github.com/owncloud/reva/v2/pkg/storagespace"
4950 "github.com/owncloud/reva/v2/pkg/utils"
50- "github.com/mitchellh/mapstructure"
5151 "github.com/pkg/errors"
5252 "github.com/rs/zerolog"
5353 "go.opentelemetry.io/otel/attribute"
@@ -787,6 +787,7 @@ func (s *Service) Stat(ctx context.Context, req *provider.StatRequest) (*provide
787787 s .addMissingStorageProviderID (md .GetId (), nil )
788788 s .addMissingStorageProviderID (md .GetParentId (), nil )
789789 s .addMissingStorageProviderID (md .GetSpace ().GetRoot (), nil )
790+ s .addMissingStorageProviderID (md .GetSpace ().GetRootInfo ().GetId (), nil )
790791
791792 return & provider.StatResponse {
792793 Status : status .NewOK (ctx ),
0 commit comments