Opened 11 years ago

Closed 10 years ago

#844 closed defect (fixed)

[PATCH] searching nothing doesn't give a nice error

Reported by: Shaun McDonald Owned by: David Earl
Priority: major Milestone:
Component: namefinder Version:
Keywords: Cc:

Description

If you search for nothing on the openstreetmap web site, you get an ugly big red exception back. The following patch, checks for this edge case and returns an appropriate error message.

Attachments (1)

20080418namefindernosearch.diff (660 bytes) - added by Shaun McDonald 11 years ago.
patch to give a nice error when returning results, when there is no search string

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by Shaun McDonald

patch to give a nice error when returning results, when there is no search string

comment:1 Changed 10 years ago by David Earl

Resolution: fixed
Status: newclosed

sorry, I'd overlooked this. Now fixed, but it needed a change to index.html as well. Thanks for the patch.

Note: See TracTickets for help on using tickets.