-
Notifications
You must be signed in to change notification settings - Fork 21
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
Slugify and Strapiv4.1.2 with GraphQL - 'admin::permission' of undefined #35
Comments
Can you please provide the following information:
If possible a reproducible example. |
I'm also facing the same issue. Strapi Version: v4.1.0 Thanks! |
Hi! Same problem over here.. Strapi Version: v4.1.2 (..config/plugins.js)
Thanks in advance! |
Thank you for the information. I will investigate the issue. I did test it on my side before release and had no issues. Very strange. |
I can't reproduce this issue in the exact same constellation. |
This looks to be a bug on strapis end. The only way I was able to reproduce this was to not have the plugin listed in the At minimum to fix this issue one of the following configurations in the
or
I was not able to reproduce the issue with either of the above configurations. TLDR: it looks to be a bug on strapis side. The plugin should be listed in |
@mikeyfe6 do you have a reproducible example? This as this case looks to be different than the original issue, when I tried this configuration the server started with no issue. |
Hello, I had the same problem and I found how to avoid the issue at least.
P.S: If you switch the plugins config, you might reproduce the error. |
@ComfortablyCoding with the inverted order in the plugin config it is working... definitely it is a bug in the Strapi plugin system. @maneroto thanks for the hint!!! Updated repo: |
At the moment it does not look like plugin order can be enforced. I will add a note about ensuring graphql is placed before the plugin config as well as a minimal config is required. Thanks @maneroto for finding this requirement. |
No additional plugin configuration.
Sample repo:
https://github.com/vmptk/strapi-slug
The text was updated successfully, but these errors were encountered: