BUG: when a edit form in WorkflowFieldItemController doesn't load a record, when saving it $form->getRecord() return null, so we need to reassign the the current $record to the object that this form is saved into.