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

Database collision #21

Open
morops opened this issue Dec 26, 2018 · 0 comments
Open

Database collision #21

morops opened this issue Dec 26, 2018 · 0 comments

Comments

@morops
Copy link

morops commented Dec 26, 2018

Error:

Sequel::UniqueConstraintViolation at /parts
Mysql2::Error: Duplicate entry '8-1' for key 'project_id_and_part_number'

Steps to reproduce:
-Create a new empty project
-Create a new part
-Create a new assembly
-Create a new part (in the assembly, although this is the only option)

This can be avoided by creating a new top-level assembly before anything else. I found this issue about a year ago, it doesn't cause any other issues but it has come up again while working on new features for our fork. Perhaps by automatically creating the first top level assembly, this could be resolved for future first-time users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant