Skip to content

fix(files): Only execute default action if there is an action to perform - #45586

Merged
skjnldsv merged 2 commits into
masterfrom
fix/files-default-action
Jun 4, 2024
Merged

fix(files): Only execute default action if there is an action to perform#45586
skjnldsv merged 2 commits into
masterfrom
fix/files-default-action

Conversation

@susnux

Copy link
Copy Markdown
Contributor

Summary

Some files do not have a default action (can not be viewed and only downloaded). If the openfile query is set on them the handleOpenFile will throw an error.

Checklist

@susnuxsusnux added this to the Nextcloud 30 milestone May 30, 2024
@susnux
susnux requested review from Pytal, artonge and nfebeMay 30, 2024 16:46
@susnux
susnux requested a review from skjnldsv as a code ownerMay 30, 2024 16:46
@susnux

Copy link
Copy Markdown
ContributorAuthor

/backport to stable28

@susnux

Copy link
Copy Markdown
ContributorAuthor

/backport to stable29

Some files do not have a default action (can not be viewed and only downloaded).
If the `openfile` query is set on them the `handleOpenFile` will throw an error.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux
susnuxforce-pushed the fix/files-default-action branch from cffed68 to d33cfddCompareJune 4, 2024 12:41
@susnux

Copy link
Copy Markdown
ContributorAuthor

/compile

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finishbugfeature: files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@susnux@artonge@skjnldsv@nextcloud-command