You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: