-
Notifications
You must be signed in to change notification settings - Fork 157
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 file versions on 'Shared with me'-page #7989
Conversation
Fyi: I don't want to go crazy on the unit tests here because they changed quite heavily on master. |
it seems the web ui is making a request that uses
that url should be taken literally from the href:
that uses downloading revisions also requires cs3org/reva#3473 |
This should be fixed with this PR. I'll test it when cs3org/reva#3473 is merged. |
packages/web-app-files/src/components/SideBar/Versions/FileVersions.vue
Outdated
Show resolved
Hide resolved
Kudos, SonarCloud Quality Gate passed! |
@@ -29,7 +29,7 @@ export default { | |||
if (version === null) { | |||
url = `${this.$client.helpers._davPath}${file.webDavPath}` | |||
} else { | |||
url = this.$client.fileVersions.getFileVersionUrl(file.id, version) | |||
url = this.$client.fileVersions.getFileVersionUrl(file.fileId, version) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙈
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙈
@@ -52,10 +52,10 @@ import { mapActions, mapGetters, mapMutations } from 'vuex' | |||
import { DavProperty } from 'web-client/src/webdav/constants' | |||
import { formatRelativeDateFromHTTP, formatFileSize } from 'web-pkg/src/helpers' | |||
import { WebDAV } from 'web-client/src/webdav' | |||
import { inject } from '@vue/composition-api' | |||
import { defineComponent, inject } from '@vue/composition-api' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to be careful when merging to master later
Description
Downloading and reverting versions on the "Shared with me"-page has been fixed.
Related Issue
Types of changes