-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Preview of Office document is again not possible #29956
Labels
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
bug
feature: previews and thumbnails
Comments
SKB-CGN
added
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
bug
labels
Nov 29, 2021
Nextcloud 23 contains PR #26531, which fixes preview generation for office files. The relevant change is this oneliner. To those who suffer from this bug on Nextcloud 22, could you try patching index fef218823e..50c016737e 100644
--- a/lib/private/Preview/Office.php
+++ b/lib/private/Preview/Office.php
@@ -74,7 +74,7 @@ abstract class Office extends ProviderV2 {
}
$image = new \OC_Image();
- $image->loadFromData($png);
+ $image->loadFromData((string) $png);
$this->cleanTmpFiles();
unlink($pngPreview); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
bug
feature: previews and thumbnails
Hi,
after upgrading to Nextcloud 22.2.3 - there is again the problem, that no office preview is created.
Following errors are appearing:
Seems, that the instance-id or the folder is not returned properly.
The text was updated successfully, but these errors were encountered: