Fix (or remove) JobEntityManagerImpl#removeExectutionLink

Description

The JobEntityManagerImpl#removeExecutionLink method is essentially a no-op, as it's trying to remove this, a JobEntityManagerImpl, from a List<JobEntity>. Here's the code:

That method should be changed to:

or, preferably, ExecutionEntity#getJobs should be completely removed (and just replaced with a findJobsByExecutionId call if needed perhaps?).

Link to code in GitHub:
https://github.com/Activiti/Activiti/blob/activiti6/modules/activiti-engine/src/main/java/org/activiti/engine/impl/persistence/entity/JobEntityManagerImpl.java#L293

Assignee

Joram Barrez

Reporter

Logan Chadderdon

Labels

None

Components

Fix versions

Priority

Lowest
Configure