Skip to content

Commit

Permalink
fix owncloudsql GetMD (#1993)
Browse files Browse the repository at this point in the history
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
  • Loading branch information
butonic authored Aug 13, 2021
1 parent 674976a commit 36bb64b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions changelog/unreleased/fix-owncloudsql-getmd.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Bugfix: fix owncloudsql GetMD

The GetMD call internally was not prefixing the path when looking up resources by id.

https://github.com/cs3org/reva/pull/1993
2 changes: 1 addition & 1 deletion pkg/storage/fs/owncloudsql/owncloudsql.go
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ func (fs *owncloudsqlfs) resolve(ctx context.Context, ref *provider.Reference) (
}
p = filepath.Join(owner, p)
}
return p, nil
return fs.toInternalPath(ctx, p), nil
}

if ref.GetPath() != "" {
Expand Down

0 comments on commit 36bb64b

Please sign in to comment.