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

Andy Allan notifications at github.com
Fri Jun 9 12:00:56 UTC 2017

@tomhughes you've been distracted by the mention of diffs. @ardean80 has linked to the two users, who both have the same display name *right now*, according to the XML API.

> 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 ("Андрей Б")

I couldn't find any difference between them by looking at the hex values of the strings copied from the XML:

'Андрей Б'.unpack('H*')
=> ["d090d0bdd0b4d180d0b5d0b920d091"]
I'm guessing there must be another character in the database record that allows them to pass the uniqueness tests, but that is being stripped out when the XML is being built. Or perhaps it's a combining character issue? If someone with db access could have a look at the strings that might prove useful.

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/1ecd2c78/attachment.html>

More information about the rails-dev mailing list