NESCent / FossilCalibrations

Fossil calibrations database
http://fossilcalibrations.org
BSD 2-Clause "Simplified" License
14 stars 4 forks source link

Can't add fossil from an existing collection #59

Closed Ksepka closed 10 years ago

Ksepka commented 10 years ago

I think this is an unintended consequence of the new edit collections restrictions (meant as safeties to keep us editors from wrecking things).

I tried to enter a new fossil from an existing collection (e.g., CM, Canterbury Museum 500). This error pops up: "There's already a collection with this acronym! Please modify it or choose the existing collection."

The database doesn't seem to recognize that I just want to add a new CM fossil, not add a new CM collection abbreviation. So I think the only way to enter a new fossil right now is generating a new collections, obviously bad because it locks out new fossils being entered for any collection already represented.

jimallman commented 10 years ago

I think this is an unintended consequence of the new edit collections restrictions (meant as safeties to keep us editors from wrecking things).

Absolutely right, sorry about that. I did not properly distinguish when the user entered a new (vs. chose an existing) collection when validating this acronym. Fixed now and behaving as expected.

Ksepka commented 10 years ago

Looks good now, thanks.