Skip to content

Commit

Permalink
Bugfix: Shared with others page apps not working with oc10 as backend (
Browse files Browse the repository at this point in the history
…#7228)

ix bug where mimetype doesn't get exposed
  • Loading branch information
Jan authored Jul 7, 2022
1 parent 00801ce commit 94b0538
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Bugfix: Shared with others page apps not working with oc10 as backend

We've fixed a bug where apps like preview, pdf-viewer or text-editor weren't working while browsing
the shared with others page with oc10 as backend.

https://github.com/owncloud/web/pull/7228
https://github.com/owncloud/web/issues/7049
2 changes: 1 addition & 1 deletion packages/web-app-files/src/helpers/resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ export function buildSharedResource(
fileId: share.item_source,
storageId: extractStorageId(share.item_source),
type: share.item_type,
mimeType: parseInt(share.state) === 0 ? share.mimetype : '',
mimeType: share.mimetype,
isFolder,
sdate: DateTime.fromSeconds(parseInt(share.stime)).toRFC2822(),
indicators: [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ Level-3 headings should be used for the references to the relevant issues. Inclu

Other free text and markdown formatting can be used elsewhere in the document if needed. But if you want to explain something about the issue, then please post that in the issue itself.

### [Preview from share-with-others page doesn't work in oc10](https://github.com/owncloud/web/issues/7049)
- [webUIPreview/mediaPreview.feature:143](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIPreview/imageMediaViewer.feature#L143)

### [user session of a blocked user is not cleared properly](https://github.com/owncloud/web/issues/4795)
- [webUILogin/adminBlocksUser.feature:20](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUILogin/adminBlocksUser.feature#L20)

Expand Down

0 comments on commit 94b0538

Please sign in to comment.