Modify

Opened 15 years ago

Closed 15 years ago

#2619 closed defect (invalid)

JOSM displays an empty error message when the server returns "422 Unprocessable Entity"

Reported by: avarab@… Owned by: avarab@…
Priority: minor Milestone:
Component: Core Version: latest
Keywords: uploading Cc:

Description

When trying to delete way 22529607 (.osm file attached) JOSM will create a changeset, send a osmChange request to delete the way, but shows an empty message dialog when the server returns "422 Unprocessable Entity".

The server is handling this case incorrectly, but JOSM should at least display the HTTP error message it gets.

Attachments (2)

22529607-full.osm (86.6 KB ) - added by avarab@… 15 years ago.
22529607/full.osm
all.flow (67.2 KB ) - added by avarab@… 15 years ago.
tcpflow -c output of traffic between JOSM and the API when trying to delete the way

Download all attachments as: .zip

Change History (5)

by avarab@…, 15 years ago

Attachment: 22529607-full.osm added

22529607/full.osm

by avarab@…, 15 years ago

Attachment: all.flow added

tcpflow -c output of traffic between JOSM and the API when trying to delete the way

comment:1 by plaicy, 15 years ago

Owner: changed from team to avarab@…
Status: newneedinfo

maybe this is the same as #3124.

Which JOSM did you use?

in reply to:  1 comment:2 by avarab@…, 15 years ago

Replying to plaicy:

maybe this is the same as #3124.

Which JOSM did you use?

I filled in latest in version and when I do that I've always just svn up-ed and done ant clean dist. But I can't see an easy way in trac too get the current svn version at the time of the bug being reported.

comment:3 by Gubaer, 15 years ago

Resolution: invalid
Status: needinfoclosed

Can't reproduce anymore because the way 22529607 has been deleted in the meantime.

You've been working with [1605] according to the log you supplied. This is quite old. I'm pretty confident that recent releases always at least display the {{{toString()} text of an exception.

Closing as invalid.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain avarab@….
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.