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

[FIX] Module Step-Star : plantage de l'envoi de thèse manuel.

parent 5f9d548f
Loading
Loading
Loading
Loading
+1 −0
Changes for CHANGELOG.md: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@ Journal des modifications
- [FIX] Import des thèses : rétablissement du mapping libDiscipline => lib_int1_dis dans la config supprimé à tort.
- [FIX] Module Formation : icône de suppression invisible pour la suppression d'un formateur d'une session
- [FIX] Module Soutenance : la liste des membres du jury pouvant être président de jury affichait les directeurs de thèse
- [FIX] Module Step-Star : plantage de l'envoi de thèse manuel.

9.3.0
-----
+1 −1
Changes for module/StepStar/src/StepStar/Service/Fetch/FetchService.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -115,7 +115,7 @@ class FetchService
    {
        $qb = $this->theseService->getRepository()->createQueryBuilder('t');
        $qb
            ->addSelect('e, d, di, disc, dip, dimc, ed, ur, f, orf, m, rdv, mel, es,, eds, urs, a, ai, r')
            ->addSelect('e, d, di, disc, dip, dimc, ed, ur, f, orf, m, rdv, mel, es, eds, urs, a, ai, r')
            ->join('t.etablissement', 'e')
            ->join('t.doctorant', 'd')
            ->join('d.individu', 'di')
+2 −2
Changes for module/StepStar/src/StepStar/Service/Xml/XmlService.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -436,7 +436,7 @@ class XmlService
            self::EMAIL_PERSO_ETUDIANT => $emailPersoDoctorant,
            self::EMAIL_INSTITUTION_ETUDIANT => $emailInstitutionDoctorant,
            self::DATE_NAISSANCE_ETUDIANT => $this->formatDate($these['doctorant']['individu']['dateNaissance']),
            self::SEXE_ETUDIANT => $this->formatSexe($these['doctorant']['individu']['civilite']),
            self::SEXE_ETUDIANT => $this->formatSexe($these['doctorant']['individu']['civilite'] ?? null),
            self::NATIONALITE_DOCTORANT => $these['doctorant']['individu']['paysNationalite']['codeIsoAlpha2'] ?? null,
            self::TELEPHONE_DOCTORANT => null, // pas dispo
            self::ADRESSE_DOCTORANT => null, // pas dispo
@@ -656,7 +656,7 @@ class XmlService
        return null;
    }

    private function formatSexe(string $civilite): ?string
    private function formatSexe(?string $civilite): ?string
    {
        return [
            Individu::CIVILITE_M => 'M',