Upgrading to 2.2.0 and changes on CrudController::getFields