Modify ↓
Opened 18 years ago
Closed 18 years ago
#138 closed defect (fixed)
Command Stack cleared even if upload fails
Reported by: | anonymous | Owned by: | imi |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Core | Version: | |
Keywords: | Cc: |
Description
Version 226:
With the current OSM server migration problems, I get a lot of server-side error 500's.
After this, JOSM clears the Command Stack, causing user panic and worrying if all the new data is lost :-)
If is not lost however, and pressing Upload again will try again with all the data (as far as I can see).
But it would be really nice to not clear the stack on server errors.
Attachments (0)
Note:
See TracTickets
for help on using tickets.
I fixed it so that the command stack is not cleared if upload fails entirely (which happens in the current situation). It is however not possible to "partially" clear the stack if upload aborts somewhere between 0% and 100%, so the stack must always be cleared if any server interaction has taken place. Fix in version 233, should be available in josm-latest.jar from 2007-05-09.