Modify ↓
Opened 13 years ago
Closed 12 years ago
#7116 closed defect (fixed)
API chokes when uploading undeleted ways/nodes with Precondition Failed
Reported by: | Polarbear-j | Owned by: | team |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Plugin undelete | Version: | latest |
Keywords: | undelete precondition failed | Cc: | dieterdreist, rickmastfan67, ghia |
Description
- load a deleted way via the 'undelete' plugin
- upload the way
- depending on the order JOSM chooses for upload, if it tries to upload the way to be visible again before uploading the re-visible nodes, the API chokes with the following message (WWWWWWW and NNNNNN1 being real way/node numbers) :
PUT http://api.openstreetmap.org/api/0.6/way/WWWWWWW... Precondition Failed Error header: Precondition failed: Way WWWWWWW requires the nodes with id in (NNNNNN1,NNNNNNN2), which either do not exist, or are not visible. Warning: error header "Precondition failed: Way WWWWWWW requires the nodes with id in (NNNNNN1,NNNNNNN2), which either do not exist, or are not visible." did not match with an expected pattern
It does not matter if I upload in one single request or 'each object individually'.
Attachments (0)
Change History (6)
comment:1 by , 12 years ago
comment:3 by , 12 years ago
Cc: | added |
---|---|
Priority: | normal → major |
comment:5 by , 12 years ago
Cc: | added |
---|
Note:
See TracTickets
for help on using tickets.
Ticket #8156 has been marked as a duplicate of this ticket.