Skip to content

Conversation

@maxceem
Copy link
Collaborator

@maxceem maxceem commented Nov 19, 2019

Fix for the issue of reindexed documents which we can observe in Project Service topcoder-platform/tc-project-service#388

If we don't set default question value it would be an empty string "" by default. This may cause errors while indexing in ES in case later empty string value is changed to other data type like "array", "object" or maybe even "number".
Also, potentially, code which relies on the questions values may expect consistent data type, though I don't know any issues so far.
At the moment this fix is only for "add-ons" question type.
@maxceem maxceem requested a review from RishiRajSahu November 19, 2019 03:36
@RishiRajSahu RishiRajSahu merged commit abb6744 into topcoder-archive:dev Nov 19, 2019
@maxceem maxceem deleted the feature/consisten-default-question-values branch April 2, 2020 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants