Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

click on .sb3 files leads to error message wopi: neither edit nor view app url found #10605

Closed
tbsbdr opened this issue Mar 14, 2024 · 4 comments
Assignees
Labels
Priority:p3-medium Normal priority Type:Bug Something isn't working

Comments

@tbsbdr
Copy link
Contributor

tbsbdr commented Mar 14, 2024

Steps to reproduce

  1. Login on https://ocis.ocis-web.latest.owncloud.works/
  2. upload Scratch-Project.sb3 (43 KB) file (.sb3 extensions is used in Scratch https://scratch.mit.edu/ , the mime type application/zip )
  3. click on Scratch-Project.sb3 in the web ui
  4. error shows up: "wopi: neither edit nor view app url found"

Note: this behaviour happens also if you use any other plain sb3 file, generated via touch sb3test.sb3

Expected behavior

  • standard action "Download" should be triggered

Actual behavior

  • error shows up: "wopi: neither edit nor view app url found"

Screenie

screenshot_002475

@tbsbdr tbsbdr added Type:Bug Something isn't working Priority:p3-medium Normal priority labels Mar 14, 2024
@AlexAndBear
Copy link
Contributor

Let's see if this is a web issue or a (mis)configuration on the OCIS side

@kulmann
Copy link
Member

kulmann commented Mar 15, 2024

The mime type that oCIS announces via the PROPFIND response is application/octet-stream. The app provider is configured as follows for that mimetype:

{
    "mime_type": "application/octet-stream",
    "app_providers": [
        {
            "name": "Collabora",
            "icon": "https://collabora.owncloud.com/favicon.ico"
        },
        {
            "name": "OnlyOffice",
            "icon": "https://onlyoffice.owncloud.com/web-apps/apps/documenteditor/main/resources/img/favicon.ico"
        },
        {
            "name": "Office365",
            "icon": "https://res.cdn.office.net/officehub/images/content/images/favicon-8f211ea639.ico"
        }
    ]
}

So this is not a web issue but a misconfiguration of the app provider, like @AlexAndBear assumed.

@kulmann
Copy link
Member

kulmann commented Mar 15, 2024

@micbar since this repo doesn't list the application/octet-stream mime type in the app provider config, I assume that this is part of some default config for the app provider. Can you give me a pointer?

@AlexAndBear
Copy link
Contributor

Fixed via cs3org/reva#4693

@AlexAndBear AlexAndBear self-assigned this May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:p3-medium Normal priority Type:Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants