Multi tenancy support is not working in case of duplicate filtering while deploying processes

Description

Tenant id is not used while fetching the already deployed process definition in case of duplicate filtering is enabled while deploying the processes in DeployCmd class.

DeploymentEntity existingDeployment = Context
.getCommandContext()
.getDeploymentEntityManager()
.findLatestDeploymentByName(deployment.getName());

Environment

Development

Assignee

Tijs Rademakers

Reporter

Amit Kumar

Labels

None

Components

Fix versions

Affects versions

Priority

Critical
Configure