CommandSchedulerBundle icon indicating copy to clipboard operation
CommandSchedulerBundle copied to clipboard

Command gets locked forever.

Open muhammadumairsse opened this issue 6 years ago • 1 comments

I found this problem recently, If the exception occurs during flush on the following line https://github.com/j-guyon/CommandSchedulerBundle/blob/1.2/Command/ExecuteCommand.php#L223 the command stays locked forever, untill unless you unlock it manually.

Symfony can throw exception here \Doctrine\ORM\OptimisticLockException Please add try catch here. So that code don't break.

muhammadumairsse avatar Jan 08 '20 12:01 muhammadumairsse

I have the same issue. Did you find some workaround for this @muhammadumair-coeus ?

kovinet avatar Apr 08 '21 11:04 kovinet