Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Unable to set "My Location" #845
I've just deleted all of my locations, intending to add a new one after, but the location webpages are failing to load correctly.
Thanks @mattturner86 , we should have been treating empty features (locations) as invalid but a while ago we allowed changed to accepting a collection of features, instead of just one feature, and the test if a collection is empty is a bit different and was overlooked.
I've deployed the new code and ran
DELETE FROM user_locations WHERE ST_IsEmpty(location) = 'T';
to delete any existing empty locations.