Commit 6fcae022 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

[FIX] Correction du plantage lors du réimport ponctuel d'une thèse.

parent 2c905715
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
Journal des modifications
=========================

3.0.2
-----
- [FIX] Correction du plantage lors du réimport ponctuel d'une thèse. 

3.0.1
-----
- Renommage de l'application en ESUP-SyGAL.
+7 −7
Original line number Diff line number Diff line
@@ -12,13 +12,13 @@
        <field name="uniteRechId"               type="string" column="UNITE_RECH_ID" length="64" nullable="true"/>
        <field name="title"                     type="string" column="LIB_THS" length="2048" nullable="true"/>

        <field name="dateSoutenanceAutorisee"   type="date" column="DAT_AUT_SOU_THS" nullable="true"/>
        <field name="dateConfidFin"             type="date" column="DAT_FIN_CFD_THS" nullable="true"/>
        <field name="datePremiereInsc"          type="date" column="DAT_DEB_THS" nullable="true"/>
        <field name="dateSoutenancePrev"        type="date" column="DAT_PREV_SOU" nullable="true"/>
        <field name="dateSoutenance"            type="date" column="DAT_SOU_THS" nullable="true"/>
        <field name="dateAbandon"               type="date" column="DAT_ABANDON" nullable="true"/>
        <field name="dateTransfert"             type="date" column="DAT_TRANSFERT_DEP" nullable="true"/>
        <field name="dateSoutenanceAutorisee"   type="datetime" column="DAT_AUT_SOU_THS" nullable="true"/>
        <field name="dateConfidFin"             type="datetime" column="DAT_FIN_CFD_THS" nullable="true"/>
        <field name="datePremiereInsc"          type="datetime" column="DAT_DEB_THS" nullable="true"/>
        <field name="dateSoutenancePrev"        type="datetime" column="DAT_PREV_SOU" nullable="true"/>
        <field name="dateSoutenance"            type="datetime" column="DAT_SOU_THS" nullable="true"/>
        <field name="dateAbandon"               type="datetime" column="DAT_ABANDON" nullable="true"/>
        <field name="dateTransfert"             type="datetime" column="DAT_TRANSFERT_DEP" nullable="true"/>

        <field name="etatThese"                 type="string" column="ETA_THS" length="20" nullable="true"/>
        <field name="libDiscipline"             type="string" column="LIB_INT1_DIS" length="200" nullable="true"/>
+8 −7
Original line number Diff line number Diff line
@@ -279,25 +279,26 @@ class ImportService
         */
        $quotifier = function($v) { return "'$v'"; };
        $sqlFilterIndividu = sprintf("SOURCE_CODE IN (%s)", implode(', ', array_map($quotifier, $sourceCodeIndividus)));
        $this->synchroService->addService('these',
        $serviceNameSuffix = '-' . $these->getEtablissement()->getCode();
        $this->synchroService->addService('these' . $serviceNameSuffix,
            ['sql_filter' => "SOURCE_CODE = '$sourceCodeThese'"]
        );
        $this->synchroService->addService('doctorant',
        $this->synchroService->addService('doctorant' . $serviceNameSuffix,
            ['sql_filter' => "SOURCE_CODE = '$sourceCodeDoctorant'"]
        );
        $this->synchroService->addService('individu',
        $this->synchroService->addService('individu' . $serviceNameSuffix,
            ['sql_filter' => "SOURCE_CODE = '$sourceCodeIndividu'"]
        );
        $this->synchroService->addService('acteur',
        $this->synchroService->addService('acteur' . $serviceNameSuffix,
            ['sql_filter' => "THESE_ID = '$theseId'"]
        );
        $this->synchroService->addService('individu',
        $this->synchroService->addService('individu' . $serviceNameSuffix,
            ['sql_filter' => $sqlFilterIndividu]
        );
        $this->synchroService->addService('ecole-doctorale',
        $this->synchroService->addService('ecole-doctorale' . $serviceNameSuffix,
            ['sql_filter' => "SOURCE_CODE = '$sourceCodeEcoleDoct'"]
        );
        $this->synchroService->addService('unite-recherche',
        $this->synchroService->addService('unite-recherche' . $serviceNameSuffix,
            ['sql_filter' => "SOURCE_CODE = '$sourceCodeUniteRech'"]
        );
        $this->synchroService->synchronize();
+1 −1

File changed.

Preview size limit exceeded, changes collapsed.