Commit bc2bc7c7 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Ajout d'un exit pour sortir du retraitement asynchrone

parent 0fb11d1b
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for module/Application/src/Application/Controller/TheseController.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -1475,7 +1475,7 @@ class TheseController extends AbstractController
            // relancer le retraitement en tâche de fond
            $this->fichierService->fusionneFichierTheseAsync($these, $versionFichier, $removal, $destinataires);
            return $this->redirect()->toRoute('these/rdv-bu', ['these' => $these->getId(), 'asynchronous' => 1], [], true);

            exit();
        } catch (RuntimeException $re) {
            // erreur prévue
        }