[#7839] handle weird data if there's no role.name; refactor
1 file changed