Tâche #14722
Distribution EOLE - Scénario #14666: Traitement express (04-06)
Problème diagnose Messagerie "activer_courier_imap" et "activer_courier_pop"
Description
Test effectué sur un scribe 2.5.1
Dans le dictionnaire /usr/share/eole/creole/dicos/23_courier.xml, les variables "activer_courier_imap" et "activer_courier_pop" sont protégées par une variable oui/non et ce n'est pas répercuté dans le fichier diagnose /usr/share/eole/diagnose/51-courier en 2.5.1.
Dans le cas de mon test en ayant la variable "activer_recuperation_courriel" à non, les variables "activer_courier_imap" et "activer_courier_pop" sont déactivées mais le diagnose fait un CreolGet sur ces variables, ce qui donne :
root - Erreur creole 1 : tentative d'accès à une option nommée : activer_courier_imap avec les propriétés ['disabled'] root - Erreur creole 1 : tentative d'accès à une option nommée : activer_courier_pop avec les propriétés ['disabled']
L'ajout d'une condition dans le fichier /usr/share/eole/diagnose/51-courier du type :
if [ "$activer_recuperation_courriel" = 'local' ]; then . /usr/lib/eole/diagnose.sh ...... fi exit 0
corrige le problème.
Associated revisions
Prise en compte de "activer_recuperation_courriel" dans diagnose
- diagnose/51-courier : conditions sur la variable "activer_recuperation_courriel"
Ref: #14722 @30m
History
#1 Updated by Scrum Master over 7 years ago
- Start date deleted (
01/21/2016) - Estimated time set to 1.00 h
- Parent task set to #14666
#2 Updated by Joël Cuissinat over 7 years ago
- Estimated time changed from 1.00 h to 2.00 h
- Remaining (hours) set to 2.0
#3 Updated by Joël Cuissinat over 7 years ago
- Status changed from Nouveau to En cours
- Start date set to 01/26/2016
#4 Updated by Joël Cuissinat over 7 years ago
- Assigned To set to Joël Cuissinat
#5 Updated by Joël Cuissinat over 7 years ago
Déjà, sur Scribe, ça plante quand on essaie d'obtenir cette configuration ;)
root@scribe:~# CreoleSet activer_recuperation_courriel non Erreur inconnue : impossible d'effectuer le calcul, l'option activer_roundcube a les propriétés : ['disabled'] pour : web_redirection
=> #14812
#6 Updated by Joël Cuissinat over 7 years ago
- Status changed from En cours to Résolu
- % Done changed from 0 to 100
- Remaining (hours) changed from 2.0 to 0.25
<jojo2024> tweety: ton avis sur l'importance de retro-porter <tweety> jojo2024: retro-porter en 2.5.1 .... bof <jojo2024> tweety: donc je corrige que sur 2.5.2 donc (sachant que ça a révélé un 2nd bug) <tweety> ca me va jojo2024
=> eole-courier 2.5.2-2
#7 Updated by Emmanuel GARETTE over 7 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) changed from 0.25 to 0.0
. Courrier POP/IMAP => Désactivé