See [Taxon.pm](https://github.com/paleobiodb/classic/blob/master/lib/PBDB/Taxon.pm), line 714. Looks like it's trying to verify whether type_locality has already been specified in collection, or something.