openstreetmap / trac-tickets

Archived Trac Tickets
1 stars 1 forks source link

Uploading a relation that has itself as a member causes SystemStackError #2023

Closed openstreetmap-trac closed 3 years ago

openstreetmap-trac commented 3 years ago

Reporter: Ldp [Submitted to the original trac issue database at 8.56pm, Thursday, 2nd July 2009]

I inadvertently added a relation as a member of itself (in JOSM), and tried to upload the change.

[unneccesary other members removed]

This comes back as a 500 from the API:

org.openstreetmap.josm.io.OsmTransferException: org.openstreetmap.josm.io.OsmApi Exception: ResponseCode=500, Error Header=,Error Body=<SystemStackError: stack level too deep

openstreetmap-trac commented 3 years ago

Author: iandees [Added to the original trac issue at 7.00pm, Monday, 9th September 2013]

There are self-referential relations in the database now.