Loading CHANGELOG.md +4 −0 Original line number Diff line number Diff line Journal des modifications ========================= 5.2.2 ----- - [FIX] exploitation de la récupération des chemins plutôt que des contenus pour la génération des convocations 5.2.1 ----- - [FIX] Téléchargement de rapport d'activité : message d'erreur en bonne et dûe forme en cas de signature/logo absent. Loading doc/release-notes/v5.2.2.md 0 → 100644 +19 −0 Original line number Diff line number Diff line # Version 5.2.2 ## 1. Sur le serveur d'application - Placez-vous dans le répertoire de l'application puis lancez la commande suivante pour installer la nouvelle version : ```bash git fetch --tags && git checkout --force 5.2.2 && bash ./install.sh ``` - Selon le moteur PHP que vous avez installé, rechargez le service, exemple : - php7.4-fpm : `service php7.4-fpm reload` - apache2-mod-php7.4 : `service apache2 reload` ## 2. Dans la base de données Aucun No newline at end of file module/Soutenance/src/Soutenance/Controller/PresoutenanceController.php +3 −2 Original line number Diff line number Diff line Loading @@ -40,6 +40,7 @@ use Soutenance\Service\Notifier\NotifierSoutenanceServiceAwareTrait; use Soutenance\Service\Parametre\ParametreServiceAwareTrait; use Soutenance\Service\Proposition\PropositionServiceAwareTrait; use Soutenance\Service\Validation\ValidatationServiceAwareTrait; use Structure\Entity\Db\EcoleDoctorale; use Structure\Entity\Db\Etablissement; use Structure\Service\StructureDocument\StructureDocumentServiceAwareTrait; use These\Entity\Db\Acteur; Loading Loading @@ -526,7 +527,7 @@ class PresoutenanceController extends AbstractController try { $this->fichierStorageService->setGenererFichierSubstitutionSiIntrouvable(false); return $this->fichierStorageService->getFileContentForFichier($fichier); return $this->fichierStorageService->getFileForFichier($fichier); } catch (StorageAdapterException $e) { throw new RuntimeException("Un problème est survenu lors de la récupération de la signature de l'établissement !", 0, $e); } Loading @@ -545,7 +546,7 @@ class PresoutenanceController extends AbstractController try { $this->fichierStorageService->setGenererFichierSubstitutionSiIntrouvable(false); return $this->fichierStorageService->getFileContentForFichier($fichier); return $this->fichierStorageService->getFileForFichier($fichier); } catch (StorageAdapterException $e) { throw new RuntimeException("Un problème est survenu lors de la récupération de la signature de l'ED !", 0, $e); } Loading module/Soutenance/src/Soutenance/Service/Exporter/Convocation/ConvocationPdfExporter.php +2 −2 Original line number Diff line number Diff line Loading @@ -26,8 +26,8 @@ class ConvocationPdfExporter extends PdfExporter parent::__construct($renderer, $format, $orientationPaysage, $defaultFontSize); $resolver = $renderer->resolver(); $resolver->attach(new TemplatePathStack(['script_paths' => [__DIR__]])); $this->allow_charset_conversion = true; $this->charset_in='UTF-8'; // $this->allow_charset_conversion = true; // $this->charset_in='UTF-8'; } public function export($filename = null, $destination = self::DESTINATION_BROWSER, $memoryLimit = null) Loading Loading
CHANGELOG.md +4 −0 Original line number Diff line number Diff line Journal des modifications ========================= 5.2.2 ----- - [FIX] exploitation de la récupération des chemins plutôt que des contenus pour la génération des convocations 5.2.1 ----- - [FIX] Téléchargement de rapport d'activité : message d'erreur en bonne et dûe forme en cas de signature/logo absent. Loading
doc/release-notes/v5.2.2.md 0 → 100644 +19 −0 Original line number Diff line number Diff line # Version 5.2.2 ## 1. Sur le serveur d'application - Placez-vous dans le répertoire de l'application puis lancez la commande suivante pour installer la nouvelle version : ```bash git fetch --tags && git checkout --force 5.2.2 && bash ./install.sh ``` - Selon le moteur PHP que vous avez installé, rechargez le service, exemple : - php7.4-fpm : `service php7.4-fpm reload` - apache2-mod-php7.4 : `service apache2 reload` ## 2. Dans la base de données Aucun No newline at end of file
module/Soutenance/src/Soutenance/Controller/PresoutenanceController.php +3 −2 Original line number Diff line number Diff line Loading @@ -40,6 +40,7 @@ use Soutenance\Service\Notifier\NotifierSoutenanceServiceAwareTrait; use Soutenance\Service\Parametre\ParametreServiceAwareTrait; use Soutenance\Service\Proposition\PropositionServiceAwareTrait; use Soutenance\Service\Validation\ValidatationServiceAwareTrait; use Structure\Entity\Db\EcoleDoctorale; use Structure\Entity\Db\Etablissement; use Structure\Service\StructureDocument\StructureDocumentServiceAwareTrait; use These\Entity\Db\Acteur; Loading Loading @@ -526,7 +527,7 @@ class PresoutenanceController extends AbstractController try { $this->fichierStorageService->setGenererFichierSubstitutionSiIntrouvable(false); return $this->fichierStorageService->getFileContentForFichier($fichier); return $this->fichierStorageService->getFileForFichier($fichier); } catch (StorageAdapterException $e) { throw new RuntimeException("Un problème est survenu lors de la récupération de la signature de l'établissement !", 0, $e); } Loading @@ -545,7 +546,7 @@ class PresoutenanceController extends AbstractController try { $this->fichierStorageService->setGenererFichierSubstitutionSiIntrouvable(false); return $this->fichierStorageService->getFileContentForFichier($fichier); return $this->fichierStorageService->getFileForFichier($fichier); } catch (StorageAdapterException $e) { throw new RuntimeException("Un problème est survenu lors de la récupération de la signature de l'ED !", 0, $e); } Loading
module/Soutenance/src/Soutenance/Service/Exporter/Convocation/ConvocationPdfExporter.php +2 −2 Original line number Diff line number Diff line Loading @@ -26,8 +26,8 @@ class ConvocationPdfExporter extends PdfExporter parent::__construct($renderer, $format, $orientationPaysage, $defaultFontSize); $resolver = $renderer->resolver(); $resolver->attach(new TemplatePathStack(['script_paths' => [__DIR__]])); $this->allow_charset_conversion = true; $this->charset_in='UTF-8'; // $this->allow_charset_conversion = true; // $this->charset_in='UTF-8'; } public function export($filename = null, $destination = self::DESTINATION_BROWSER, $memoryLimit = null) Loading