Loading module/Application/config/others/these.config.php +4 Changes for module/Application/config/others/these.config.php: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ use Application\Form\Factory\RdvBuTheseDoctorantFormFactory; use Application\Form\Factory\RdvBuTheseFormFactory; use Application\Provider\Privilege\ThesePrivileges; use Application\Service\Message\DiffusionMessages; use Application\Service\ServiceAwareInitializer; use Application\Service\These\TheseObserverService; use Application\Service\These\TheseService; use UnicaenAuth\Guard\PrivilegeController; Loading Loading @@ -833,6 +834,9 @@ return [ 'RdvBuTheseForm' => RdvBuTheseFormFactory::class, 'RdvBuTheseDoctorantForm' => RdvBuTheseDoctorantFormFactory::class, ], 'initializers' => [ ServiceAwareInitializer::class, ] ], 'hydrators' => array( 'factories' => array( Loading module/Application/src/Application/Controller/TheseController.php +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 Loading @@ -1114,7 +1114,7 @@ class TheseController extends AbstractController implements $besoinVersionExpurgee = ! $diffusion->getDroitAuteurOk(); // $fichiersExpurgesDeposes = $these->getFichiersBy(null, true, false, $version); $fichiersExpurgesDeposes = $this->fichierService->getRepository()->fetchFichiers($these, null , $version, false); if (! $besoinVersionExpurgee && $fichiersExpurgesDeposes->count() > 0) { if (! $besoinVersionExpurgee && !empty($fichiersExpurgesDeposes)) { $this->fichierService->deleteFichiers($fichiersExpurgesDeposes); $this->flashMessenger()->addSuccessMessage("Les fichiers expurgés fournis devenus inutiles ont été supprimés."); } Loading module/Application/src/Application/Form/DiffusionTheseForm.php +2 −1 Changes for module/Application/src/Application/Form/DiffusionTheseForm.php: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -17,7 +17,8 @@ use Zend\Form\FormInterface; use Zend\InputFilter\InputFilterProviderInterface; use Zend\Validator\Callback; class DiffusionTheseForm extends Form implements InputFilterProviderInterface, MessageServiceAwareInterface, FichierServiceAwareInterface class DiffusionTheseForm extends Form implements InputFilterProviderInterface, MessageServiceAwareInterface, FichierServiceAwareInterface { use MessageServiceAwareTrait; use FichierServiceAwareTrait; Loading Loading
module/Application/config/others/these.config.php +4 Changes for module/Application/config/others/these.config.php: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ use Application\Form\Factory\RdvBuTheseDoctorantFormFactory; use Application\Form\Factory\RdvBuTheseFormFactory; use Application\Provider\Privilege\ThesePrivileges; use Application\Service\Message\DiffusionMessages; use Application\Service\ServiceAwareInitializer; use Application\Service\These\TheseObserverService; use Application\Service\These\TheseService; use UnicaenAuth\Guard\PrivilegeController; Loading Loading @@ -833,6 +834,9 @@ return [ 'RdvBuTheseForm' => RdvBuTheseFormFactory::class, 'RdvBuTheseDoctorantForm' => RdvBuTheseDoctorantFormFactory::class, ], 'initializers' => [ ServiceAwareInitializer::class, ] ], 'hydrators' => array( 'factories' => array( Loading
module/Application/src/Application/Controller/TheseController.php +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 Loading @@ -1114,7 +1114,7 @@ class TheseController extends AbstractController implements $besoinVersionExpurgee = ! $diffusion->getDroitAuteurOk(); // $fichiersExpurgesDeposes = $these->getFichiersBy(null, true, false, $version); $fichiersExpurgesDeposes = $this->fichierService->getRepository()->fetchFichiers($these, null , $version, false); if (! $besoinVersionExpurgee && $fichiersExpurgesDeposes->count() > 0) { if (! $besoinVersionExpurgee && !empty($fichiersExpurgesDeposes)) { $this->fichierService->deleteFichiers($fichiersExpurgesDeposes); $this->flashMessenger()->addSuccessMessage("Les fichiers expurgés fournis devenus inutiles ont été supprimés."); } Loading
module/Application/src/Application/Form/DiffusionTheseForm.php +2 −1 Changes for module/Application/src/Application/Form/DiffusionTheseForm.php: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -17,7 +17,8 @@ use Zend\Form\FormInterface; use Zend\InputFilter\InputFilterProviderInterface; use Zend\Validator\Callback; class DiffusionTheseForm extends Form implements InputFilterProviderInterface, MessageServiceAwareInterface, FichierServiceAwareInterface class DiffusionTheseForm extends Form implements InputFilterProviderInterface, MessageServiceAwareInterface, FichierServiceAwareInterface { use MessageServiceAwareTrait; use FichierServiceAwareTrait; Loading