Skip to content

Commit

Permalink
suite merge
Browse files Browse the repository at this point in the history
  • Loading branch information
khergalant committed Feb 22, 2024
1 parent a3440f6 commit 093a85b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1127,7 +1127,7 @@ private OnDemandFile generateExport(final String code,
for (final CandidatCursusInterne cursus : candidat.getCandidatCursusInternes()) {
if (cursus.getAnneeUnivCursusInterne() > annee) {
annee = cursus.getAnneeUnivCursusInterne();
lastEtab = applicationContext.getMessage("universite.title", null, UI.getCurrent().getLocale());
lastEtab = configController.getConfigEtab().getNom();
lastDiplome = cursus.getLibCursusInterne();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,12 @@ public void loadConfigCache() {
self.getLogoRessource();
self.getXDocReportTemplate(ConstanteUtils.TEMPLATE_DOSSIER, null, null);
self.getConfigEtab();
self.getConfigPegaseAuthEtab();
self.getConfigPegaseUrl();
try {
self.getConfigPegaseAuthEtab();
self.getConfigPegaseUrl();
} catch (final Exception e) {
//Au démarrage de l'application, si la config n'a pas été enregistrée, il ne faut pas lever d'erreur
}
}

/**
Expand Down Expand Up @@ -415,6 +419,7 @@ public ConfigPegaseAuthEtab getConfigPegaseAuthEtab() {
/* On cherche le fichier de properties dans le classpath */
try {
configPegaseAuthEtabProp.setUrl(self.getPropertiesPegase().getProperty(ConstanteUtils.PEGASE_URL_AUTH));
System.out.println(configPegaseAuthEtabProp);
if (configPegaseAuthEtabProp.isValid()) {
return configPegaseAuthEtabProp;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public void testMethode() {

} catch (final SiScolException ex) {
// TODO Auto-generated catch block
e.printStackTrace();
ex.printStackTrace();
}
logger.debug("Fin des tests");
}
Expand Down

0 comments on commit 093a85b

Please sign in to comment.