We are using this bundle in our project with related entities.
We have some failed jobs and wanted to retry them but unfortunately when using the retry button in the web interface the related entites will not be set for the new retry job.
After checking the code I saw that in the JobController the original job is just cloned and inside the __clone function of the Job entity the related entities are resetted: $this->relatedEntities = new ArrayCollection();
In my opinion this is an issue because when you rely on those entities you can't retry the failed jobs because important information are lost.
We are using this bundle in our project with related entities. We have some failed jobs and wanted to retry them but unfortunately when using the retry button in the web interface the related entites will not be set for the new retry job.
After checking the code I saw that in the JobController the original job is just cloned and inside the
__clone
function of the Job entity the related entities are resetted:$this->relatedEntities = new ArrayCollection();
In my opinion this is an issue because when you rely on those entities you can't retry the failed jobs because important information are lost.