OnlyOffice use a documentKey to identity file and make cache
If a user do this actions
- edit a file with onlyoffice (version 1)
- download file on it's computer
- edit the file with ms word (version 2)
- upload file on filerun
- edit again the file with onlyoffice
The new version (2) of the file is not taken into account because the file name is identical and onlyoffice uses its cache.
Actually on filerun the key is generated with this command
$documentKey = substr($fileSize.md5($this->data['filePath']), 0, 20);
I suggets to use
$documentKey = substr($fileSize.md5($this->data['filePath']), 0, 12).substr($fileTime,2,10);
to have a new identifier in case of modification of the file by another editor
Moreover, despite the possibility of opening a file with onlyoffice in a new window, it is not possible to open two files at the same time because the opening URL is identical.
I suggest that URL of open with onlyoffice contain documentKey for resolve this problem.
should also allow to be able to edit a file with onlyoffice in the case
of a weblink for users who do not have an account (in the way of google
Customer support service by UserEcho