Commit 5edf127e authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

[FIX] Echec de l'envoi vers STEP-STAR 'Impossible d'extraire du nom de...

[FIX] Echec de l'envoi vers STEP-STAR 'Impossible d'extraire du nom de fichier... l'identifiant de la these' si l'individu/doctorant n'a pas de supannId : utilisation de l'INE ou de l'id doctorant.
parent 1e4ff492
Loading
Loading
Loading
Loading
Loading
+1 −0
Changes for CHANGELOG.md: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@ Journal des modifications
- Thèse : abandon des colonnes 'discipline_sise_code' et 'lib_disc' au profit de la jointure avec la table 'discipline_sise'.
- [FIX] Rapport d'activité : correction du filtrage selon le profil de l'utilisateur.
- [FIX] Module Admission : modification de la convention de formation doctorale impossible
- [FIX] Echec de l'envoi vers STEP-STAR 'Impossible d'extraire du nom de fichier... l'identifiant de la these' si l'individu/doctorant n'a pas de supannId : utilisation de l'INE ou de l'id doctorant.

9.2.1
-----
+1 −1
Changes for module/StepStar/src/StepStar/Service/Xml/XmlService.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -427,7 +427,7 @@ class XmlService

        $data = [
            // doctorant
            self::CODE_ETUDIANT => $these['doctorant']['individu']['supannId'], // todo : ou l'id ?
            self::CODE_ETUDIANT => ($these['doctorant']['ine'] ?? null) ?: $these['doctorant']['id'],
            self::CODE_INE => $these['doctorant']['ine'],
            self::PPN_DOCTORANT => $these['doctorant']['individu']['idRef'] ?? null,
            self::NOM_ETUDIANT => $these['doctorant']['individu']['nomPatronymique'] ?: $these['doctorant']['individu']['nomUsuel'],