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

Ensure facility types in filters are valid #117

Open
ggiraldez opened this issue Aug 3, 2016 · 2 comments
Open

Ensure facility types in filters are valid #117

ggiraldez opened this issue Aug 3, 2016 · 2 comments

Comments

@ggiraldez
Copy link
Member

The chosen facility types saved for the project filters in the database may contain invalid types after a Resourcemap import. This is because the facility types are re-created on each import and hence new ids are generated. The existing, now invalid, ids are never checked against the current available facility type ids and they can accumulate indefinitely. At some point they should be intersected against the existing types and prune the invalid ones.

@ggiraldez ggiraldez added this to the Release 0.5 milestone Aug 3, 2016
@juanedi juanedi assigned juanedi and unassigned juanedi Aug 23, 2016
@ggiraldez
Copy link
Member Author

No longer relevant since for the moment we're not allowing updates to datasets.

@ggiraldez
Copy link
Member Author

This can still happen for deleted facility types.

@ggiraldez ggiraldez removed the on hold label Sep 22, 2016
@ggiraldez ggiraldez removed this from the Release 0.7 milestone Sep 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants