Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting location_geometry to geoshape causes weird formatting #698

Closed
linzjax opened this issue Sep 16, 2016 · 0 comments
Closed

Setting location_geometry to geoshape causes weird formatting #698

linzjax opened this issue Sep 16, 2016 · 0 comments
Assignees
Labels

Comments

@linzjax
Copy link
Contributor

linzjax commented Sep 16, 2016

Steps to reproduce the error

Rather than offering a choice of location_geoshape or location_geotrace, set location_geometry to geoshape. Fill out form, and submit. See regression in location geometry formatting.

Actual behavior

screen shot 2016-09-16 at 1 49 12 pm

### Expected behavior

Completed polygon.

This is caused by the upgrade to allow selection of geotrace or geoshape. If there's isn't a selection, location_geometry assumes you're using geotrace.

https://github.com/Cadasta/cadasta-platform/blob/master/cadasta/xforms/mixins/model_helper.py#L76-L78

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants