ONLYOFFICE / onlyoffice-nextcloud

The app which enables the users to edit office documents from Nextcloud using ONLYOFFICE Document Server, allows multiple users to collaborate in real time and to save back those changes to Nextcloud
GNU Affero General Public License v3.0
573 stars 162 forks source link

Can't disable opening pdf files on the mobile Nextcloud app #1015

Open ottsimon opened 4 months ago

ottsimon commented 4 months ago

I use an older version of the Enterprise Edition Document Server, because I don't get updates for newer versions. This version doesn't seem to work with PDF files in Nextcloud. When you try to open one, you get the following error:

The "documentType" parameter for the config object is invalid. Please correct it.

But I don't need OnlyOffice to open PDF files, because Nextcloud has its own PDF-Viewer. Therefore, I never enabled the filetype in the OnlyOffice Nextcloud settings.

The web interfaces of Nextcloud respects this setting and opens the files in Nextclouds own PDF-Viewer, but the mobile app on Android still tries to open the file with OnlyOffice and fails. In the past the mobile app downloaded the file and opened it with a local PDF viewer on my phone.

Is there a way to tell the mobile app to not open PDF files with OnlyOffice?

Versions:
Nextcloud 29.0.4
Nextcloud Android App 3.29.1 OnlyOffice Nextcloud App 9.3.0
OnlyOffice Document Server 7.5.1

Activated filetypes: image

solkmaaker commented 3 months ago

I confirm this, and it seems to be problem with onlyoffice nextcloud app, not onlyoffice server. I does not matter if pdf filetype is selected or not, behaviour is same. Meanwhile, i have another software that opens pdf files using same onlyoffice server without problems.

Workaround: downgrade onlyoffice nextcloud app to previous version (9.2.2)

Andrew-Dudov commented 2 months ago

Hello @ottsimon thanks for contacting. I confirm your problem, so i created a new issue 70207