From bd67fcf673dda74941fc7271d2684e69f768db78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Laurent=20L=C3=A9cluse?= <laurent.lecluse@unicaen.fr>
Date: Thu, 20 Feb 2025 15:55:52 +0100
Subject: [PATCH] Correction pb synchro affichage intervenant

---
 composer.json                                             | 2 +-
 composer.lock                                             | 8 ++++----
 .../src/View/Helper/Import/IntervenantViewHelper.php      | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/composer.json b/composer.json
index 446403f67b..35c5ca3f0e 100644
--- a/composer.json
+++ b/composer.json
@@ -26,7 +26,7 @@
         "unicaen/privilege"                : "6.2.1",
         "unicaen/utilisateur"              : "7.0.2",
         "unicaen/code"                     : "6.3.0",
-        "unicaen/import"                   : "6.0.5",
+        "unicaen/import"                   : "6.0.6",
         "unicaen/tbl"                      : "6.2.5",
         "unicaen/open-document"            : "6.0.10",
         "unicaen/siham"                    : "6.2.0",
diff --git a/composer.lock b/composer.lock
index ae9f0b9e45..71989c8164 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "5f8edc2714f74ed7fca3e6e1e0d5d974",
+    "content-hash": "9accc3996ab03b6d67f9cb6c27b04cef",
     "packages": [
         {
             "name": "apereo/phpcas",
@@ -7644,11 +7644,11 @@
         },
         {
             "name": "unicaen/import",
-            "version": "6.0.5",
+            "version": "6.0.6",
             "source": {
                 "type": "git",
                 "url": "https://git.unicaen.fr/lib/unicaen/import.git",
-                "reference": "8c3deaf69891cdefe7984139a9c8320c286654ce"
+                "reference": "f638f0edc86c4803ec45e67ea66ddc3f3080be0e"
             },
             "require": {
                 "symfony/console": "^4.4|^5.4|^6.0|^7.0",
@@ -7667,7 +7667,7 @@
                 ]
             },
             "description": "Module d'import de données vers une base Oracle",
-            "time": "2025-01-09T13:06:16+00:00"
+            "time": "2025-02-20T14:50:17+00:00"
         },
         {
             "name": "unicaen/mail",
diff --git a/module/Application/src/View/Helper/Import/IntervenantViewHelper.php b/module/Application/src/View/Helper/Import/IntervenantViewHelper.php
index 309bdf46f7..07923fb0b9 100755
--- a/module/Application/src/View/Helper/Import/IntervenantViewHelper.php
+++ b/module/Application/src/View/Helper/Import/IntervenantViewHelper.php
@@ -30,7 +30,7 @@ class IntervenantViewHelper extends DifferentielLigne
                 $this->ligne->get('ANNEE_ID') . '-' . ($this->ligne->get('ANNEE_ID') + 1)
             );
         } else {
-            $entity = $this->ligne->getEntity();
+            $entity = $this->ligne->getEntity(Intervenant::class);
 
             /* @var $entity Intervenant */
             return sprintf(
-- 
GitLab