zacoppotamus / ElgarsCodingOrchestra

2nd Year Software Engineering Project
project.spe.sneeza.me
3 stars 0 forks source link

Catch dataset uploaded with duplicate name #59

Closed zacoppotamus closed 10 years ago

zacoppotamus commented 10 years ago

When a second dataset is uploaded with a duplicate name, the first one should be overwritten.

BenElgar commented 10 years ago

Do you think that should be the default action though? I prefer the idea of adding them to the end so that if you have a lot of CSVs about the same thing (a CSV for each year or something) then you can just add them all to the same dataset. Also there's no risk of accidentally losing data.

zacoppotamus commented 10 years ago

True, true, I hadn't thought of that use case. Maybe have a warning when uploading a dataset of the same name and give the user the option of either choosing a different name or appending data?

BenElgar commented 10 years ago

Good idea. I'll get on to that.

BenElgar commented 10 years ago

Should be fixed now.