Commit 529fb785 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

[FIX] Correction de bug dans les assertions du domaine Thèse.

parent 3de7dd24
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@ Journal des modifications
-----
- [FIX] exploitation de la récupération des chemins plutôt que des contenus pour la génération des convocations
- Réorganisation des ménus latéraux de l'accueil du site
- [FIX] Correction de bug dans les assertions du domaine Thèse.
- Renommage et réordonancement de menus.

5.2.1
+1 −1
Original line number Diff line number Diff line
@@ -166,7 +166,7 @@ class TheseAssertion extends AbstractAssertion implements WorkflowServiceAwareIn
        }

        if ($this->these === null) {
            return false;
            return true;
        }

//        if (! $this->userContextService->isStructureDuRoleRespecteeForThese($this->these)) {
+2 −2
Original line number Diff line number Diff line
@@ -140,7 +140,7 @@ class TheseEntityAssertion extends GeneratedTheseEntityAssertion

    protected function isCorrectionAttendue(): bool
    {
        return $this->these->getCorrectionAutorisee();
        return $this->these->isCorrectionAutorisee();
    }

    protected function isDepotVersionCorrigeeValide(): bool
@@ -219,7 +219,7 @@ class TheseEntityAssertion extends GeneratedTheseEntityAssertion

    private ?bool $existeFichierTheseVersionCorrigee = null;

    protected ?Doctorant $identityDoctorant;
    protected ?Doctorant $identityDoctorant = null;

    /**
     * @return Doctorant