MEDIUM: Fixed code because of the removal of EditionActionType