Issue a warning when there are no affiliations in profile edit view.