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

Uncaught TypeError: window.OCP.Files.Navigation is undefined #2625

Closed
come-nc opened this issue Nov 23, 2023 · 4 comments
Closed

Uncaught TypeError: window.OCP.Files.Navigation is undefined #2625

come-nc opened this issue Nov 23, 2023 · 4 comments
Assignees
Labels
1. to develop Issues that are ready for development bug
Milestone

Comments

@come-nc
Copy link
Contributor

come-nc commented Nov 23, 2023

Steps to reproduce

  1. Open Files UI
  2. Open share tab in the right sidebar

Expected behaviour

See ACL options

Actual behaviour

No ACL options and this error:

Uncaught TypeError: window.OCP.Files.Navigation is undefined
    <anonymous> main.ts:36
    <anonymous> groupfolders.ts:113
    <anonymous> groupfolders.ts:113
main.ts:36:19

Server configuration

Nextcloud version: 28 (master)

Group folders version: 16.0.0

@come-nc come-nc added bug 0. Needs triage Issues that need to be triaged labels Nov 23, 2023
@come-nc come-nc added 1. to develop Issues that are ready for development and removed 0. Needs triage Issues that need to be triaged labels Nov 23, 2023
@come-nc come-nc added this to the Nextcloud 28 milestone Nov 23, 2023
@artonge
Copy link
Contributor

artonge commented Nov 23, 2023

@susnux I think you fixed a similar issue. Isn't it related to the new "init" logic Barth introduced with F2V?

@susnux
Copy link
Contributor

susnux commented Nov 30, 2023

Yes this is an issue with that feature as the API is registered in main.ts of files.

I think that API is misplaced as to make sure our official API (OCP) is always available, it should be placed in core/src/OCP.

@artonge
Copy link
Contributor

artonge commented Nov 30, 2023

Should be fixed by #2645

@artonge artonge closed this as completed Nov 30, 2023
@susnux
Copy link
Contributor

susnux commented Nov 30, 2023

Yes and no, the problem for group folders is fixed, but this is still an issue on server core.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Issues that are ready for development bug
Projects
None yet
Development

No branches or pull requests

3 participants