mysociety/popit

uploaded images are populated with "created": "" which prevents indexing

Opened this issue · 0 comments

mhl commented

To reproduce this, just go to a person's page, click edit, add photo and look at the JSON for the person; they'll have images[0].created set to "". Elasticsearch's inferred mapping assumes that this is a optional datetime field, so indexing of the person and their memberships will fail.

The same happens when uploading an image via the API.