Opened 17 years ago
Closed 16 years ago
#773 closed defect (fixed)
JOSM doesn't recognise a 412 precondition failed when a relation is uploaded.
Reported by: | Owned by: | framm | |
---|---|---|---|
Priority: | blocker | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | relations | Cc: | Gubaer |
Description
If the server returns a 412 for a relation, JOSM just accepts it, and thinks it's ok. It doesn't tell the user that there is a problem like when the server returns a 500.
Attachments (0)
Change History (6)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Should be fixed in newer versions. Reopen report, when still existing.
comment:3 by , 16 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
The error still exists in JOSM Version 1479. I tried to add a bus_stop to relation 79221 and got the error "412 precondition failed", but JOSM did as if everything was OK. But my changes did not got uploaded.
comment:6 by , 16 years ago
Cc: | added |
---|---|
Resolution: | → fixed |
Status: | reopened → closed |
Version: | → latest |
JOSM version: current from SVN, 1566
Tried to reproduce the bug following the steps above. Took a long time but ultimatelly completed with ... OK.
In addition, framm has provided a fix which improves improves notification of API errors, similar but slightly different to the patch from #2437.
I therefore close this ticket. Reopen report, when still existing.
I experienced the same.
You can reproduce it with the following steps:
got return: 412 with id 7887
The error was reproducible with the following variations:
Adding relations or nodes to other relations (besides 7887) works properly here. Maybe there is something wrong with relation 7887?
An error message after the upload would surely be helpful to avoid user madness :)
Thanks for your work!