#27 fixed. The fields are repopulated properly when an error occur in creating an assignment