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 previews of files inside deleted folders #2334

Merged
merged 1 commit into from
Apr 18, 2023

Conversation

icewind1991
Copy link
Member

fixes #1998

instead of getting the trash info for the file inside the folder, get the info of the folder that was deleted.

And add some failsafe in case the trash item isn't found for any reason

@icewind1991 icewind1991 added the 3. to review Items that need to be reviewed label Apr 18, 2023
fixes #1998

Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991 icewind1991 merged commit 9787c4c into master Apr 18, 2023
@icewind1991 icewind1991 deleted the preview-deleted-folder branch April 18, 2023 15:39
@icewind1991
Copy link
Member Author

/backport to stable26

@icewind1991
Copy link
Member Author

/backport to stable25

@bigcat88
Copy link
Member

@icewind1991 can you please say when release with this fix will be published?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Items that need to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Exception: Return value of OCA\GroupFolders\Trash\TrashManager::getTrashItemByFileId()
3 participants