mysociety / citizenconnect

Citizen Connect project for the NHS: reporting problems, leaving reviews
https://www.nhs.uk/careconnect/choices
Other
1 stars 0 forks source link

Error looking up Isle of Man postcode #1268

Closed stevenday closed 10 years ago

stevenday commented 10 years ago

It looks like we shouldn't always rely on MapIt to return a geocoded point if it doesn't complain about the postcode being invalid. In this case, we just got:

{
postcode: "IMX XXX",
areas: { }
}
stevenday commented 10 years ago

This line is the culprit: https://github.com/mysociety/citizenconnect/blob/master/organisations/forms.py#L50

stevenday commented 10 years ago

Related: https://github.com/mysociety/mapit/issues/95