Project

General

Profile

Tâche #34231

Scénario #34126: EOLE 2.9 : Modifier les dépendances eole-sso et en (re)faire un paquet générique

Un template de eole-sso-client nécessite une variable fournie par eole-sso-server

Added by Joël Cuissinat almost 2 years ago. Updated almost 2 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
06/01/2022
Due date:
% Done:

100%

Remaining (hours):
0.0

Description

root@scribe:~# rgrep cas_send_logout /usr/share/eole/creole/distrib/
/usr/share/eole/creole/distrib/sso.conf:               'cas_send_logout': %%cas_send_logout,
/usr/share/eole/creole/distrib/cas.inc.php.tmpl:%if %%cas_send_logout == 'oui'
root@scribe:~# dpkg -S /usr/share/eole/creole/distrib/cas.inc.php.tmpl
eole-sso-client: /usr/share/eole/creole/distrib/cas.inc.php.tmpl
root@scribe:~# rgrep cas_send_logout /usr/share/eole/creole/dicos/
/usr/share/eole/creole/dicos/21_sso_server.xml:            <variable name='cas_send_logout' type='oui/non' description="Activer le logout centralisé du serveur SSO" hidden='True'>

A priori un getVar suffit à contourner le problème, à moins que la variable nécessite d'être déplacée dans un autre dico ?

Associated revisions

Revision 3b608828 (diff)
Added by Benjamin Bohard almost 2 years ago

La variable cas_send_logout n’est pas forcément disponible.

Ref #34231

History

#1 Updated by Joël Cuissinat almost 2 years ago

Erreur visible dans https://dev-eole.ac-dijon.fr/jenkins/job/2.9.0/job/test-creolelint-thot-2.9.0-amd64/ (ex : job n°54) :

12:16:18              \-- /usr/share/eole/creole/distrib/cas.inc.php.tmpl
12:16:18             ('/usr/share/eole/creole/distrib/cas.inc.php.tmpl', ':', Exception('Il manque une option, la variable "cas_send_logout" n\'est pas chargé, avec le dictionnaire 
{\'eolesso_adresse\': None, \'activer_sso\': \'distant\', \'eolesso_port\': 443, \'eolesso_cas_folder\': \'/sso\', \'eolesso_ca_location\': None, \'eolesso_cas_serverversion\': \'CAS_VERSION_2_0\'}'))

#2 Updated by Benjamin Bohard almost 2 years ago

  • Status changed from Nouveau to En cours

#3 Updated by Benjamin Bohard almost 2 years ago

  • Assigned To set to Benjamin Bohard

#4 Updated by Benjamin Bohard almost 2 years ago

  • Status changed from En cours to À valider

#5 Updated by Benjamin Bohard almost 2 years ago

  • Status changed from À valider to En cours

#6 Updated by Emmanuel GARETTE almost 2 years ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100

#7 Updated by Joël Cuissinat almost 2 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) set to 0.0

Also available in: Atom PDF