Skip to content

Fix JudgeEvaluation migration

On the old website, there is a 'pending_evaluation' state that on the new website is called 'pending'. In spite of fetching correctly all contents, we could not create a JudgeEvaluation record with evaluation_state equal to 'pending_evaluation'. The record was just ignored. That would lead to contents without judge evaluations, which would raise errors.

This commit translate evaluation_states with value 'pending_evaluation' to 'pending'.

Merge request reports