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

Capabilities seem to be loaded too late sometimes #3771

Closed
LukasHirt opened this issue Jul 14, 2020 · 3 comments
Closed

Capabilities seem to be loaded too late sometimes #3771

LukasHirt opened this issue Jul 14, 2020 · 3 comments
Labels
Type:Bug Something isn't working

Comments

@LukasHirt
Copy link
Collaborator

Sporadically an error Cannot read property 'api_enabled' of undefined in quickActions is appearing. Since this key is being read from capabilities, it seems that they are being read too late. This needs to be investigated.

@LukasHirt LukasHirt added the Type:Bug Something isn't working label Jul 14, 2020
@LukasHirt
Copy link
Collaborator Author

Seems that this is happening also in public links and there it's 100 % reproducible - probably missing a check for the public link since getting capabilities requires a user to be signed in. Thanks @PVince81 for spotting!

@kulmann
Copy link
Member

kulmann commented Oct 15, 2021

Note: capabilities for public links are tracked in #5863

@pascalwengerter
Copy link
Contributor

pascalwengerter commented Nov 5, 2021

Fixed as loading capabilities twice (in authenticated context) and public context tracked in #5863

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type:Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants