[openstreetmap/openstreetmap-website] Duplicate values on display_name attribute. (#1560)

ardean80 notifications at github.com
Fri Jun 9 09:43:21 UTC 2017

I'm trying to apply with osmosis the day diff [#1726](http://planet.openstreetmap.org/replication/day/000/001/726.osc.gz) to my osm apidb, but I got this error: _duplicate key value violates unique constraint "users_display_name_idx"_. 
This happens because, apparently, two users (whose ids are [6115593](http://www.openstreetmap.org/api/0.6/user/6115593) and [4518891](http://www.openstreetmap.org/api/0.6/user/4518891)) have the same display_name ("Андрей Б"), but this should not be possible, according to the current osm apidb [schema](https://github.com/openstreetmap/openstreetmap-website/blob/master/db/structure.sql). 
How could this happen on OSM? What should I do in order to address this issue?

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170609/8b30b0bc/attachment.html>

More information about the rails-dev mailing list