InterstitialTech / timeclonk

GNU General Public License v3.0
1 stars 0 forks source link

unique error on csv import #50

Open bburdette opened 8 months ago

bburdette commented 8 months ago

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 commented 8 months ago

@paulate