extraData error

isset() is not correct here: If you submit a form with the value NULL (for example: firstname: null) the Form class handles firstname as extraData and the form has errors although firstname is defined in a formtype