Loading CHANGELOG.md +21 −1 Original line number Diff line number Diff line # Version stable [OSE 20.1](#ose-201--04042023-) [OSE 20.2](#ose-202-28042023) # OSE 21 (à venir) Loading @@ -11,6 +11,26 @@ * Taux HETD personnalisables # OSE 20.2 (28/04/2023) ## Nouveautés * Nouvelle formule de calcul de Rouen ## Améliorations * Possibilité d'entrer des dérogations aux plafonds avant d'avoir des heures à plafonner (#46387) ## Corrections de bugs * Les motifs de modification de service dû supprimés ne peuvent plus être sélectionnés (#50328) * Messages d'erreur corrigés lors de l'exécution du script de migration de la V20. * Le bouton prévu=>réalisé s'affiche de nouveau lorsqu'il n'y a pas de contrat (#45643) * Formule de Poitiers : rétablissement du test pour appliquer l'ancienne formule avant 2022. * Formule de Picardie : prise en compte des heures négatives (#50471) * L'interface d'administration des types de formation est de nouveau opérationnelle (#50360) # OSE 20.1 (04/04/2023) Loading admin/actions/help.php +1 −1 Original line number Diff line number Diff line Loading @@ -41,7 +41,7 @@ $actionsDev = [ "build-tableaux-bord" => "Reconstruction des tableaux de bord", ]; if ($oa->inDev()) { if ($this->inDev()) { $actions = array_merge($actions, $actionsDev); } Loading admin/migration/v20Contrats.php +6 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,12 @@ class v20Contrats extends AbstractMigration $c->begin("Convertion des contrats de travail en états de sortie"); $modeles = $bdd->select("SELECT * FROM modele_contrat"); $this->manager->sauvegarderTable('MODELE_CONTRAT', 'SAVE_MODELE_CONTRAT'); // On supprime l'ancienne table afin de ne jamais recommencer la migration, puis on travaille sur la sauvegarde $bdd->table()->drop('MODELE_CONTRAT'); $modeles = $bdd->select("SELECT * FROM SAVE_MODELE_CONTRAT"); $etatsSortie = []; $statuts = []; Loading admin/migration/v20Divers.php +13 −2 Original line number Diff line number Diff line Loading @@ -28,8 +28,19 @@ class v20Divers extends AbstractMigration $c->begin("Préparation de la migration vers la version 20"); $bdd->exec("ALTER TABLE TYPE_INTERVENTION DROP CONSTRAINT TYPE_INTERVENTION_CODE_UN"); $bdd->exec("DROP INDEX TYPE_INTERVENTION_CODE_UN"); if ($bdd->uniqueConstraint()->exists('TYPE_INTERVENTION_CODE_UN')) { $bdd->uniqueConstraint()->drop('TYPE_INTERVENTION_CODE_UN'); } if ($bdd->index()->exists('TYPE_INTERVENTION_CODE_UN')){ $bdd->index()->drop('TYPE_INTERVENTION_CODE_UN'); } if ($bdd->uniqueConstraint()->exists('TI_STATUT_STATUT_UN')) { $bdd->uniqueConstraint()->drop('TI_STATUT_STATUT_UN'); } if ($bdd->index()->exists('TI_STATUT_STATUT_UN')){ $bdd->index()->drop('TI_STATUT_STATUT_UN'); } $oseAppliId = $this->manager->getOseAdmin()->getOseAppliId(); $bdd->exec("UPDATE TYPE_INTERVENTION_STATUT SET HISTO_CREATEUR_ID = $oseAppliId WHERE HISTO_CREATEUR_ID IS NULL"); Loading admin/src/BddAdmin/Driver/Oracle/AbstractManagerDdlConstraint.php +1 −4 Original line number Diff line number Diff line Loading @@ -13,10 +13,7 @@ abstract class AbstractManagerDdlConstraint extends AbstractManager protected function indexExists($indexName) { $sql = "SELECT count(*) RES FROM ALL_INDEXES WHERE INDEX_NAME = :indexName AND ROWNUM = 1"; $res = $this->bdd->select($sql, compact('indexName'), ['fetch' => Bdd::FETCH_ONE]); return $res['RES'] == '1'; return $this->bdd->index()->exists($indexName); } Loading Loading
CHANGELOG.md +21 −1 Original line number Diff line number Diff line # Version stable [OSE 20.1](#ose-201--04042023-) [OSE 20.2](#ose-202-28042023) # OSE 21 (à venir) Loading @@ -11,6 +11,26 @@ * Taux HETD personnalisables # OSE 20.2 (28/04/2023) ## Nouveautés * Nouvelle formule de calcul de Rouen ## Améliorations * Possibilité d'entrer des dérogations aux plafonds avant d'avoir des heures à plafonner (#46387) ## Corrections de bugs * Les motifs de modification de service dû supprimés ne peuvent plus être sélectionnés (#50328) * Messages d'erreur corrigés lors de l'exécution du script de migration de la V20. * Le bouton prévu=>réalisé s'affiche de nouveau lorsqu'il n'y a pas de contrat (#45643) * Formule de Poitiers : rétablissement du test pour appliquer l'ancienne formule avant 2022. * Formule de Picardie : prise en compte des heures négatives (#50471) * L'interface d'administration des types de formation est de nouveau opérationnelle (#50360) # OSE 20.1 (04/04/2023) Loading
admin/actions/help.php +1 −1 Original line number Diff line number Diff line Loading @@ -41,7 +41,7 @@ $actionsDev = [ "build-tableaux-bord" => "Reconstruction des tableaux de bord", ]; if ($oa->inDev()) { if ($this->inDev()) { $actions = array_merge($actions, $actionsDev); } Loading
admin/migration/v20Contrats.php +6 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,12 @@ class v20Contrats extends AbstractMigration $c->begin("Convertion des contrats de travail en états de sortie"); $modeles = $bdd->select("SELECT * FROM modele_contrat"); $this->manager->sauvegarderTable('MODELE_CONTRAT', 'SAVE_MODELE_CONTRAT'); // On supprime l'ancienne table afin de ne jamais recommencer la migration, puis on travaille sur la sauvegarde $bdd->table()->drop('MODELE_CONTRAT'); $modeles = $bdd->select("SELECT * FROM SAVE_MODELE_CONTRAT"); $etatsSortie = []; $statuts = []; Loading
admin/migration/v20Divers.php +13 −2 Original line number Diff line number Diff line Loading @@ -28,8 +28,19 @@ class v20Divers extends AbstractMigration $c->begin("Préparation de la migration vers la version 20"); $bdd->exec("ALTER TABLE TYPE_INTERVENTION DROP CONSTRAINT TYPE_INTERVENTION_CODE_UN"); $bdd->exec("DROP INDEX TYPE_INTERVENTION_CODE_UN"); if ($bdd->uniqueConstraint()->exists('TYPE_INTERVENTION_CODE_UN')) { $bdd->uniqueConstraint()->drop('TYPE_INTERVENTION_CODE_UN'); } if ($bdd->index()->exists('TYPE_INTERVENTION_CODE_UN')){ $bdd->index()->drop('TYPE_INTERVENTION_CODE_UN'); } if ($bdd->uniqueConstraint()->exists('TI_STATUT_STATUT_UN')) { $bdd->uniqueConstraint()->drop('TI_STATUT_STATUT_UN'); } if ($bdd->index()->exists('TI_STATUT_STATUT_UN')){ $bdd->index()->drop('TI_STATUT_STATUT_UN'); } $oseAppliId = $this->manager->getOseAdmin()->getOseAppliId(); $bdd->exec("UPDATE TYPE_INTERVENTION_STATUT SET HISTO_CREATEUR_ID = $oseAppliId WHERE HISTO_CREATEUR_ID IS NULL"); Loading
admin/src/BddAdmin/Driver/Oracle/AbstractManagerDdlConstraint.php +1 −4 Original line number Diff line number Diff line Loading @@ -13,10 +13,7 @@ abstract class AbstractManagerDdlConstraint extends AbstractManager protected function indexExists($indexName) { $sql = "SELECT count(*) RES FROM ALL_INDEXES WHERE INDEX_NAME = :indexName AND ROWNUM = 1"; $res = $this->bdd->select($sql, compact('indexName'), ['fetch' => Bdd::FETCH_ONE]); return $res['RES'] == '1'; return $this->bdd->index()->exists($indexName); } Loading