Skip to content

unique error on csv import #50

Description

@bburdette

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions