Opened 10 years ago

Closed 10 years ago

#2310 closed enhancement (fixed)

Empty descriptions not possible for gpx upload.

Reported by: le_top Owned by: Tom Hughes
Priority: minor Milestone:
Component: api Version:
Keywords: api, gpx Cc:

Description

This is related to http://wiki.openstreetmap.org/wiki/API_0.6, gpx upload.

I can't seem to upload files with an empty description. I tried several things: not specifying the description in the multipart, empty line in the multipart, ... . I just get a 'CODE 400 Bad request'.

Change History (2)

comment:1 Changed 10 years ago by le_top

Component: adminapi

Change component.

comment:2 Changed 10 years ago by tomhughes

Resolution: fixed
Status: newclosed

(In [17798]) Wrap GPX API calls with the API error handler, and make sure the create method throws on error so it can be trapped and reported. Closes #2310.

Note: See TracTickets for help on using tickets.