You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
For oCIS servers, the open-with-web endpoint is not working properly. I want to open a file in web, so I make the request to the server and when I receive the URL, the web is not able to open it (different errors in different servers).
Steps to reproduce
Steps to reproduce the behavior:
Make the POST request to open-with-web, sending the app name and the file ID as parameter
Receive the response and open the URL in the response
See the error in the web
Details:
REQUEST:
POST URL: https://ocis.ocis-wopi.latest.owncloud.works/app/open-with-web
file_id=fb004e32-d789-4a05-8215-d62f3f104b78%24016795a5-d04d-44a0-8f54-c7b07047717e%21a195f339-269e-406f-8fb0-587c2988fd6b&app_name=Collabora
The response returns a URL which opens the file in web correctly.
Actual behavior
The response returns a URL which doesn't open the file in web correctly, an error message appears saying Cannot read properties of null (reading ‘webDavPath’).
@micbar I noticed that the URL coming from the server contains the param contextRouteName, however, the values are not correct anymore. Since Web will take care of correctly resolving the URL on its own, I suggest to completely remove that param.
Oh and since this is regarded as a critical bug, we will have a new Web version 7.1.1 soon, meaning we also need a new ocis release.
Web v7.1.1 is available now. @micbar what would be the correct target branch in ocis for the Web bump? I assume master is already ahead and should not get this Web version.
Activity
JammingBen commentedon Oct 13, 2023
I moved the issue to the Web repo because Web should be responsible for resolving the path correctly.
JuancaG05 commentedon Oct 13, 2023
Thanks @JammingBen! 🙏
JammingBen commentedon Oct 20, 2023
@micbar I noticed that the URL coming from the server contains the param
contextRouteName, however, the values are not correct anymore. Since Web will take care of correctly resolving the URL on its own, I suggest to completely remove that param.Oh and since this is regarded as a critical bug, we will have a new Web version
7.1.1soon, meaning we also need a new ocis release.micbar commentedon Oct 20, 2023
Ok, we can remove that parameter.
michaelstingl commentedon Oct 25, 2023
Where's this deployed? It doesn't work for me on
ocis.ocis-wopi.latest.owncloud.worksyet. 🤔micbar commentedon Oct 25, 2023
Needs web bump in ocis.
JammingBen commentedon Oct 26, 2023
Web
v7.1.1is available now. @micbar what would be the correct target branch in ocis for the Web bump? I assume master is already ahead and should not get this Web version.micbar commentedon Oct 26, 2023
Stable 4.0