Commit d69b151d authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Merge branch 'release_3.0.12'

parents 31ea73c1 3d315ac4
Loading
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
Journal des modifications
=========================

3.0.12
------
- Le bouton d'impression du document pour signature du président reste visible même après validation de l'ED.
- Corrections de typos
- [FIX] Vérification du dépôt de l'avis de soutenance avant notification pour rappel
- Amélioration de l'affichage des soutenances à venir
- Retrait des co-encadrants du PV de soutenances
- [FIX] Résolution du plantage lors du téléchargement d'un rapport (activité, CSI, mi-parcours)

3.0.11
-----
- [FIX] Passage à unicaen/auth 3.2.11 pour affichage correct du rôle lorsqu'on endosse/sélectionne un rôle lié à une structure substituée.
+18 −0
Original line number Diff line number Diff line
# Version 3.0.12

## 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 3.0.12 && bash ./install.sh
```

- Selon le moteur PHP que vous avez installé, rechargez le service, exemple :
    - php7.3-fpm         : `service php7.3-fpm reload`
    - apache2-mod-php7.3 : `service apache2 reload`

## 2. Dans la base de données

R.A.S.
 No newline at end of file
+12 −11
Original line number Diff line number Diff line
@@ -29,23 +29,24 @@ class RouteMatch extends BaseRouteMatch
    /**
     * @var array
     */
    private $entityClassNamesMapping;
    private $entityClassNamesMapping = [
        'these' => These::class,
        'doctorant' => Doctorant::class,
        'fichier' => Fichier::class,
        'utilisateur' => Utilisateur::class,
        'role' => Role::class,
        'ecoleDoctorale' => EcoleDoctorale::class,
        'uniteRecherche' => UniteRecherche::class,
        'etablissement' => Etablissement::class,
        'structure' => Structure::class,
        'rapport' => Rapport::class,
    ];

    /**
     * @var array
     */
    private $repositories = [];

    /**
     * @param array $entityClassNamesMapping
     * @return self
     */
    public function setEntityClassNamesMapping(array $entityClassNamesMapping): self
    {
        $this->entityClassNamesMapping = $entityClassNamesMapping;
        return $this;
    }

    /**
     * @param string $name Nom du paramètre
     * @return object|null
+0 −23
Original line number Diff line number Diff line
@@ -2,16 +2,6 @@

namespace Application;

use Application\Entity\Db\EcoleDoctorale;
use Application\Entity\Db\Etablissement;
use Application\Entity\Db\Fichier;
use Application\Entity\Db\Rapport;
use Application\Entity\Db\Role;
use Application\Entity\Db\Structure;
use Application\Entity\Db\These;
use Application\Entity\Db\UniteRecherche;
use Application\Entity\Db\Utilisateur;
use Doctorant\Entity\Db\Doctorant;
use UnicaenApp\Service\EntityManagerAwareInterface;
use UnicaenApp\Service\EntityManagerAwareTrait;
use Zend\EventManager\EventManagerInterface;
@@ -48,19 +38,6 @@ class RouteMatchInjector implements ListenerAggregateInterface, EntityManagerAwa
        $routeMatch = new RouteMatch($e->getRouteMatch()->getParams());
        $routeMatch->setMatchedRouteName($e->getRouteMatch()->getMatchedRouteName());
        $routeMatch->setEntityManager($this->getEntityManager());
        $routeMatch->setEntityClassNamesMapping([
            'these' => These::class,
            'doctorant' => Doctorant::class,
            'fichier' => Fichier::class,
            'utilisateur' => Utilisateur::class,
            'role' => Role::class,
            'ecoleDoctorale' => EcoleDoctorale::class,
            'uniteRecherche' => UniteRecherche::class,
            'etablissement' => Etablissement::class,
            'structure' => Structure::class,
            'rapport' => Rapport::class,
        ]);


        $e->setRouteMatch($routeMatch);
    }
+19 −0
Original line number Diff line number Diff line
@@ -123,6 +123,8 @@ class PdcData
    /** @var Acteur[] */
    private $codirecteurs;
    /** @var Acteur[] */
    private $coencadrants;
    /** @var Acteur[] */
    private $rapporteurs;
    /** @var Acteur[] */
    private $membres;
@@ -426,6 +428,23 @@ class PdcData
        return $this;
    }

    /**
     * @return Acteur[]
     */
    public function getCoencadrants()
    {
        return $this->coencadrants;
    }

    /**
     * @param Acteur[] $coencadrants
     * @return PdcData
     */
    public function setCoencadrants($coencadrants)
    {
        $this->coencadrants = $coencadrants;
        return $this;
    }


    /**
Loading