Closed jagda99 closed 4 months ago
Looks likely fixed by #526
Well when does it get published? I tried every beta from that point on and it is still not included. Isn't it a vital part of Nextcloud to share files with external users?
I'm not sure what beta you're referring to, but you can try out #526 by manually applying to changes to see if it fixes things for you.
Well thank you. I just replaced those two files and it is working again. I was referring to the Nextcloud Server beta, but yes, it is a problem in the OfficeOnline app. Thank you very much! I am still wondering why for this important feature the app didn't get an update. Again, tahnk you for your help. You made my working life so much easier now!
⚠️ This issue respects the following points: ⚠️
Bug description
When someone is opening an Office document via Nextcloud public link and Office Online integration they get this error: Call to undefined method OCP\AppFramework\Http\ContentSecurityPolicy::allowInlineScript() in file '/var/www/nextcloud/apps/officeonline/lib/Controller/DocumentController.php' line 384
In that line you can find only this:
$policy->allowInlineScript(true);
Steps to reproduce
Expected behavior
The file should be opening with Office Online.
Installation method
Other Community project
Nextcloud Server version
28
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Updated from a MINOR version (ex. 22.1 to 22.2)
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response