-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Save as copy not working with autoincrement primary key #15771
Comments
Preface: The field null value is related to #15033, so that should be addressed over there. This might be related to the change in #14947 (released in as so the id is being sent during save as copy now. |
Same problem with 9.18.1. Going back to 9.17.4 fixed it for me. |
Note: #16186 reported this for UUID as well, so it should also be tested alongside autoincrement primary keys. |
I feel that this issue deserves more attention. It's been a month now that the "Save as Copy" button just doesn't work. Maybe, at the very least, the button should be removed entirely in the meantime while this issue remains unresolved? |
Linear: ENG-179 |
This comment was marked as off-topic.
This comment was marked as off-topic.
@ricricucit Hiding this comment as unrelated as it was answered here #10418 (comment) |
Describe the Bug
Save as copy has stopped working. It seems that it fails when creating the new record because Directus is trying to use the existing ID.
To Reproduce
Errors Shown
What version of Directus are you using?
9.18.0
What version of Node.js are you using?
16.14.0
What database are you using?
MySQL 5.7
What browser are you using?
Chrome
How are you deploying Directus?
Docker
The text was updated successfully, but these errors were encountered: