Last week I had to roll back #9389 because I'd introduced a subtle issue where if the political checkbox was not checked, an empty string was saved as the value of the political field. This caused issues at publishing time, because Publishing API requires a boolean value for the political attribute.
This PR re-applies #9389 but corrects the value of the hidden political input and adds some validation to the edition model to prevent similar issues re-emerging.
Last week I had to roll back #9389 because I'd introduced a subtle issue where if the political checkbox was not checked, an empty string was saved as the value of the political field. This caused issues at publishing time, because Publishing API requires a boolean value for the
political
attribute.This PR re-applies #9389 but corrects the value of the hidden political input and adds some validation to the edition model to prevent similar issues re-emerging.
Trello: https://trello.com/c/II8jgMR7