Modify

Opened 15 years ago

Closed 15 years ago

#3558 closed defect (wontfix)

JOSM displays an error when the API request didn't yield any data

Reported by: avarab@… Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: Cc:

Description

When using e.g. api06.dev.openstreetmap.org JOSM will display an error when you download an area that doesn't have any data.

That's annoying. There being no data in the area just means that it doesn't have data, not that some error occurred. JOSM should only display an error if the API request doesn't succeed or some other actual error is encountered.

Attachments (0)

Change History (7)

comment:1 by Gubaer, 15 years ago

(In [2172]) see #3558: JOSM displays an error when the API request didn't yield any data

comment:2 by Gubaer, 15 years ago

Resolution: fixed
Status: newclosed

Couldn't agree more. I've removed the warning.

comment:3 by Claudius, 15 years ago

Use case:
User is downloading a bbox (e.g. via a remotecontrol link) where you don't know beforehand if it actually contains any data. After the download user ends up with an empty editor window and can't tell if anything gone wrong or there's just no data.

Suggestion:
I'd rather like to see this error changed to a info window saying "No data in that area."

comment:4 by stoecker, 15 years ago

Resolution: fixed
Status: closedreopened

If I remember correctly this warning was added as users requested it.

comment:5 by Gubaer, 15 years ago

(In [2195]) see #3558: JOSM displays an error when the API request didn't yield any data

comment:6 by Gubaer, 15 years ago

OK, enabled it again with a slightly modified message. It's still an error message, though.

I'll try to provide a better fix in the next iteration. The download tasks deserve some cleaning up.

comment:7 by stoecker, 15 years ago

Resolution: wontfix
Status: reopenedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
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.