[openstreetmap/openstreetmap-website] Diff upload does not allow forward references to placeholders (#1465)

Bryan Housel notifications at github.com
Fri Feb 24 21:49:20 UTC 2017

> What would you do during diff upload to fix this?

I assumed it would take one pass over the data to assign primary keys and then a second pass to actually insert the stuff into the database.  But I do understand it's easier to have it work the way it does in a single pass.

If you don't want to change how key assignment happens, thats ok with me - it just means I'll need to change iD to reorder the relations, and also add some checks to prevent users from creating circular relation graphs (we all agree they should be avoided).

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/20170224/a7a07e11/attachment.html>

More information about the rails-dev mailing list