stable

Clone or download

Read-only

feat: Do not override URL if plugin is misconfigured

If ONLYOFFICE plugin is misconfigured (lack of Document server URL or JWT secret) then open href is not provided so that users don't get a broken interface (typically when the plugin has just been activated but not configured yet). Part of story #27555: display Office documents stored in the Document plugin Change-Id: I28f89647a96a758a6f735caced1dd91e8c147425

Modified Files

Name
M plugins/onlyoffice/include/onlyofficePlugin.php +12 −4 Go to diff View file
A plugins/onlyoffice/tests/unit/OnlyOfficePluginTest.php +90 −0 Go to diff View file