From 49d31c461c764aeccdc9407acb68f923c6ef7f47 Mon Sep 17 00:00:00 2001
From: Bertrand Gauthier <bertrand.gauthier@unicaen.fr>
Date: Tue, 15 Oct 2019 15:33:15 +0200
Subject: [PATCH] =?UTF-8?q?L'envoi=20de=20mail=20concernant=20les=20r?=
 =?UTF-8?q?=C3=A9sultats=20de=20th=C3=A8ses=20modifi=C3=A9s=20=C3=A9chouai?=
 =?UTF-8?q?t=20=C3=A0=20cause=20d'une=20erreur=20dans=20le=20chemin=20de?=
 =?UTF-8?q?=20la=20vue.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 CHANGELOG.md                                  |  8 ++++++++
 config/autoload/version.global.php            |  6 +++---
 doc/release-notes/v1.2.6.md                   | 19 +++++++++++++++++++
 .../CorrectionAttendueUpdatedNotification.php |  2 +-
 4 files changed, 31 insertions(+), 4 deletions(-)
 create mode 100644 doc/release-notes/v1.2.6.md

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1a8b6a8f5..8a6586706 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,14 @@
 Journal des modifications
 =========================
 
+1.2.6 (15/10/2019)
+------------------
+
+### Corrections
+
+- L'envoi de mail concernant les résultats de thèses modifiés échouait à cause d'une erreur dans le chemin de la vue.
+
+
 1.2.5 (04/10/2019)
 ------------------
 
diff --git a/config/autoload/version.global.php b/config/autoload/version.global.php
index 83a6758a4..0b3d9484b 100644
--- a/config/autoload/version.global.php
+++ b/config/autoload/version.global.php
@@ -2,9 +2,9 @@
 return [
     'unicaen-app' => [
         'app_infos' => [
-            'version' => '1.2.5',
-            'date' => '04/10/2019',
+            'version' => '1.2.6',
+            'date' => '15/10/2019',
         ],
     ],
-    'comment' => 'Fichier généré le 04/10/2019 à 16:27:10 avec /home/gauthierb/workspace/sygal/bump-version',
+    'comment' => 'Fichier généré le 15/10/2019 à 15:28:22 avec /home/gauthierb/workspace/sygal/bump-version',
 ];
diff --git a/doc/release-notes/v1.2.6.md b/doc/release-notes/v1.2.6.md
new file mode 100644
index 000000000..6b8460796
--- /dev/null
+++ b/doc/release-notes/v1.2.6.md
@@ -0,0 +1,19 @@
+# Version 1.2.6
+
+## 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 1.2.6 && \
+bash ./install.sh
+```
+
+- Selon le moteur PHP que vous avez installé, rechargez le service, exemple :
+  - php7.0-fpm         : `service php7.0-fpm reload`
+  - apache2-mod-php7.0 : `service apache2 reload`
+
+## 2. Dans la base de données
+
+Néant.
diff --git a/module/Application/src/Application/Notification/CorrectionAttendueUpdatedNotification.php b/module/Application/src/Application/Notification/CorrectionAttendueUpdatedNotification.php
index d4af37a8b..2b9c88c97 100644
--- a/module/Application/src/Application/Notification/CorrectionAttendueUpdatedNotification.php
+++ b/module/Application/src/Application/Notification/CorrectionAttendueUpdatedNotification.php
@@ -10,7 +10,7 @@ class CorrectionAttendueUpdatedNotification extends Notification
 {
     use TheseAwareTrait;
 
-    protected $templatePath = 'notif-depot-version-corrigee-attendu';
+    protected $templatePath = 'application/these/mail/notif-depot-version-corrigee-attendu';
 
     /**
      * Initialisation, préparation, etc. nécessaires avant de pouvoir envoyer la notification.
-- 
GitLab