error with weblink edit by OnlyOffice
There is a bug in the OnlyOffice module when you use it in edit mode via a weblink.
Onlyoffice returns a message : 'impossible to save the document'.
The problem is that the variable callbackUrl not have id_rnd.
By adding the following code after line 72 to
$weblinkInfo = $this->data['weblink']['linkInfo'];
it solves the problem of the link without id_rnd, but
as it's not a system weblink the application returns a message 'Invalid link type!'
to the callbackUrl of a json expected by OnlyOffice.
Moreover, when you configure a web link to use onlyOffice in preview mode, it still launches in edit mode
I don't know how this is fixed.
Thanks for your help.
Customer support service by UserEcho
Can confirm, I have the same issue.
Same here. Filerun version 2021.03.26.
ONLYOFFICE error in /var/log/onlyoffice/documentserver/docservice/out.log-20210507 is the following:
EDIT: I think I found a workable solution. I added the following line to [filerun webroot]/customizables/plugins/onlyoffice/app.php after line 91:
So [filerun webroot]/customizables/plugins/onlyoffice/app.php looks like the following after the edit:
Looks like Vlad and his team have fixed this issue in the latest FileRun update. For now, here's the updated /customizables/plugins/onlyoffice/app.php file, simply replace the existing one in
and the weblink editing functionality will work with ONLYOFFICE.