---
title: "Bugfix: Map a job role onto the role of the same name"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:bugfix-1792991030@main"
source: "Changelog/1.0.0/Bugfix-1792991030-MapAJobRoleOntoTheRoleOfTheSameName.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Bugfix: Map a job role onto the role of the same name {#bugfix-1792991030}

## Description {#description}

Horilla keeps a job role below its job position, so two roles of different positions may share a name. adsum keeps
the names of the roles of a company unique, so the second role was refused and every employee using it blocked the
`employees` stage. A job role whose name (trimmed, case-insensitive) an adsum role of the company already has is now
mapped onto that role and reported with the warning `jobRoleMerged`. The id mapping links the Horilla role to the
existing one, so the employees who use it get that role. A dry run reports the same.

## Impact {#impact}

Two Horilla roles of the same name end up as one adsum role. Roles that were refused before are imported on the next
run of `job-roles`.
