Opened 9 years ago

Closed 9 years ago

#1395 closed defect (fixed)

Diary entry allows invalid lat/long

Reported by: gregoryw@… Owned by: grand.edgemaster@…
Priority: minor Milestone: OSM 0.6
Component: api Version:
Keywords: Cc:

Description

(1) Create a diary entry with an invalid lat/long (e.g 1000, 2000).

Expected: Error telling me that the lat/long isn't valid. Perhaps I've made a typo?
Actual: Accepts diary entry.

Attachments (4)

diary.patch (828 bytes) - added by grand.edgemaster@… 9 years ago.
diary_validations.patch (843 bytes) - added by grand.edgemaster@… 9 years ago.
and validations for the above (& more)
diary_validations.2.patch (1.0 KB) - added by grand.edgemaster@… 9 years ago.
revis
diary_validations.3.patch (1.1 KB) - added by grand.edgemaster@… 9 years ago.
another revision, adjusted function name to be more logical, added 255 char test

Download all attachments as: .zip

Change History (6)

comment:1 Changed 9 years ago by grand.edgemaster@…

  • Owner changed from tom@… to grand.edgemaster@…
  • Status changed from new to assigned

Patch prepared on local machine, awaiting SVN access to commit.

Changed 9 years ago by grand.edgemaster@…

Changed 9 years ago by grand.edgemaster@…

and validations for the above (& more)

Changed 9 years ago by grand.edgemaster@…

revis

Changed 9 years ago by grand.edgemaster@…

another revision, adjusted function name to be more logical, added 255 char test

comment:2 Changed 9 years ago by edgemaster

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [12370]) Add validations for diary entry lat/lons and tests for diary entry validations. Closes #1395

Note: See TracTickets for help on using tickets.