Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix special urls, prepare changelog, bump version #3421

Merged
merged 1 commit into from
Mar 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions changelog/1.19.1_2022-03-29/fix-special-urls.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Bugfix: Return correct special item urls

URLs for Special items (space image, readme) were broken.

https://github.com/owncloud/ocis/pull/3419
2 changes: 1 addition & 1 deletion graph/pkg/service/v0/driveitems.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ func (g Graph) getSpecialDriveItem(ctx context.Context, ID *storageprovider.Reso
return nil
}
spaceItem.SpecialFolder = &libregraph.SpecialFolder{Name: libregraph.PtrString(itemName)}
spaceItem.WebDavUrl = libregraph.PtrString(baseURL.String() + path.Join(space.Id.String(), *itemPath))
spaceItem.WebDavUrl = libregraph.PtrString(baseURL.String() + path.Join(space.Id.OpaqueId, *itemPath))

return spaceItem
}
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
sonar.projectKey=owncloud_ocis
sonar.organization=owncloud-1
sonar.projectName=ocis
sonar.projectVersion=1.19.0
sonar.projectVersion=1.19.1
sonar.host.url=https://sonarcloud.io

# =====================================================
Expand Down