-
Notifications
You must be signed in to change notification settings - Fork 1
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
Error when validating field [slug_is_key] #2
Comments
Hi @DomZ3DF , could you please send me the message from the console as well? |
I just tested this extension in v11.0.2 and I can replicate the issue. There seems to be a bug in Directus .If I try to create toggle field manually I cannot preset its value or force values not being null. To fix this I recommend to upgrade Directus to v 11.1.0. If you decide to go this way, let me know this suggestion works for you, I'll update docs subsequently. |
Did you use the collection previously created in v11.0.2 or this is a brand new one? |
I deleted it and created a new pages_meta. |
What database are you using? |
Percona 8.0 MySQL |
Would you be able to replicate your steps on SQLite (Directs default) or PostgreSQL, please? Yesterday , I tested this extension on PostgreSQL |
Also I just had a minute to take a look on your screenshots. The issue is different this time, which is good. Now it seems to complain about rel_item. If this is your testing database, remove please both collections and recreate pages with ID as UUID. Edit: you don't have to remove your main collection of you don't want to, you can create a new one just for this test. |
I can set it up later with SQLite or Postgre. I created pages with a UUID and let your extension create the pages_meta table, but still the same error message like in the images before. |
Thanks, at least the issue is consistent. I'll try to spin up container with MySQL later today |
Hi, I just want to let you know, I was able to replicate the issue in Percona v8.0. Currently I can't give you an estimate when the fix will come. I will have time to look at this issue probably this weekend. Till then, I recommend you to use Postgres or SQLite (unless you will be able to replicate the issue there as well of course). Update: This behaviour seems to be a bug in Directus directus/directus#22855 , hence I will not be proceeding with a fix yet |
Hey,
I followed your tutorial on a clean directus V11.0.2 installation to check out your extension.
In my collection "pages" I let the extension create the pages_meta table and linked it.
After that, I also chose the field "Title" to be used to slugify.
Unfortunately I always receive the error message "Error when validating field [slug_is_key]" in the console.
What is the problem here?
Thank you!
Best regards
Dominik
The text was updated successfully, but these errors were encountered: