owncloud / web

:dragon_face: Next generation frontend for ownCloud Infinite Scale
https://owncloud.dev/clients/web/
GNU Affero General Public License v3.0
443 stars 157 forks source link

Open in web from Desktop currently broken #8773

Closed micbar closed 1 year ago

micbar commented 1 year ago

Steps to reproduce

  1. Create Document.docx on the Desktop Client
  2. In file browser, open Context action "owncloud->Open in Onlyoffice"

Expected behaviour

OnlyOffice should open the app

Actual behaviour

1680645377861

Request (from mitmproxy)

POST https://0001.schule.owncloud.works/app/open-with-web With param file_id: 0dd2c554-61ce-4c46-bceb-1962ce93fac3$ddc2004c-0977-11eb-9d3f-a793888cd0f8!84b3a190-f155-4b97-ada1-8834d45e72f4 NOTE: appName is empty

Return value

{ "uri": "https://0001.schule.owncloud.works/external?contextRouteName=files-spaces-personal&fileId=0dd2c554-61ce-4c46-bceb-1962ce93fac3%24ddc2004c-0977-11eb-9d3f-a793888cd0f8%2184b3a190-f155-4b97-ada1-8834d45e72f4"
   }

Web tries to open but cannot find an appName empty app name

Spec

originally this was documented here https://owncloud.dev/services/app-registry/apps/#open-a-file-with-the-owncloud-web

An empty appName should open the default app.

Questions

@TheOneRing Intended to send no appName?

@dschmidt @kulmann Could that be fall out from the file action refactoring?

ownCloud Infinite Scale
Edition Community
Version 3.0.0-alpha.2+8c9c9fd2d
Web-Client-Version 7.0.0-rc.27
JammingBen commented 1 year ago

Re-opening because it still fails on ocis.ocis-wopi. Needs further investigation.

dschmidt commented 1 year ago

Same error?

JuancaG05 commented 1 year ago

Same error?

Yes, I'm working with this feature for the Android app and in ocis-wopi.latest I could reproduce this same error

JammingBen commented 1 year ago

So turns out the fix is not yet released and deployed... big facepalm moment 🤦