merkaartor icon indicating copy to clipboard operation
merkaartor copied to clipboard

Duplicate geometry caused by non-transaction-safe upload

Open julietkilo opened this issue 8 years ago • 3 comments

Merkaartor version 0.18.3-rc1-3-g93e0b63

Hi, I observed the behaviour that merkaartor checks in the geometry twice, when the user presses the cancel button while uploading dirty objects. For merkaartor the objects are still dirty after cancelling - but in fact they are already uploaded. When uploading again (without cancelling) all nodes are duplicated in OSM. BR Jens

julietkilo avatar Jul 11 '16 19:07 julietkilo

Thanks for reporting. This is a serious problem, but the current upload infrastructure has no idea about transaction handling. I hope I will get to fix it for 0.19.0

Krakonos avatar Jul 18 '16 12:07 Krakonos

Could it be a workaround to remove the cancel button in the upload dialog?

julietkilo avatar Jul 18 '16 19:07 julietkilo

Possibly. However, it's a good idea to have one if you try to upload and your internet connection fails. I will most likely just disable the cancel button once the connection is established.

Krakonos avatar Jul 18 '16 19:07 Krakonos