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

unique error on csv import #50

Open
bburdette opened this issue Jan 11, 2024 · 1 comment
Open

unique error on csv import #50

bburdette opened this issue Jan 11, 2024 · 1 comment

Comments

@bburdette
Copy link
Contributor

bburdette commented Jan 11, 2024

Paula got an error on importing a csv. I tried it and didn't have a problem. BUT, she first tried one with improper headers. I did the same and then did have the error!

I think the improper header CSV import somehow created some state that prevented the second import from succeeding. That shouldn't happen!

to recreate:

start a fresh project.

bad headers file, import this first.
timeclonk-Chibitronics-jan-export-orig.csv

then this good file next:
timeclonk-Chibitronics-january-import.csv

On save, you should get an error UNIQUE constraint failed: timeentry.user, timeentry.startdate

@bburdette
Copy link
Contributor Author

@paulate

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