Tâche #30594
Scénario #30539: Traitement express MEN (36-39)
Modification d'API non répercutée dans le script d'ajout d'utilisateur Horus
Start date:
09/09/2020
Due date:
% Done:
100%
Remaining (hours):
0.0
Description
Vérifier les versions impactées !
root@horus:~# /usr/share/eole/backend/ajout_utilisateur.py -u "jhorus;minedu;U;Eole12345!" test_password_length() takes exactly 2 arguments (1 given) pour jhorus
root@horus:~# rgrep test_password_length /usr/share/eole/backend/ /usr/share/eole/backend/ajout_utilisateur.py: from ead2.backend.actions.scribe.tool.validate import test_password_length /usr/share/eole/backend/ajout_utilisateur.py: test_password_length(passwd) /usr/share/eole/backend/ajout_utilisateur.py: from ead2.backend.actions.scribe.tool.validate import test_password_length /usr/share/eole/backend/ajout_utilisateur.py: test_password_length(passwd)
root@horus:~# grep 'def test_password_length' /usr/share/ead2/backend/actions/scribe/tool/validate.py def test_password_length(username, pwd):
Related issues
Associated revisions
- ajout_utilisateur.py : update "test_password_length" call
Ref: #30594
History
#1 Updated by Joël Cuissinat about 3 years ago
- Description updated (diff)
- Assigned To set to Joël Cuissinat
#2 Updated by Joël Cuissinat about 3 years ago
- Related to Tâche #30230: Utiliser le test dans l’EAD2 added
#3 Updated by Joël Cuissinat about 3 years ago
Visiblement ça concerne Horus >= 2.6.2
Je précise que le test est appelé uniquement en mode AD qui n'est pas le mode par défaut en 2.6.2 :)
#4 Updated by Joël Cuissinat about 3 years ago
- Status changed from Nouveau to En cours
#5 Updated by Joël Cuissinat about 3 years ago
- Status changed from En cours to Résolu
- % Done changed from 0 to 100
#6 Updated by Fabrice Barconnière about 3 years ago
Test sur Horus AD 2.6.2, plus de traceback au lancement de la commande.
barco@tp-barco:~/git/horus-backend (2.6.2/master=)$ git br --contains 07f75028820e3f893353a823bbc0f35541426a81 * 2.6.2/master 2.7.1/master 2.7.2/master barco@tp-barco:~/git/horus-backend (2.6.2/master=)$ git tag --contains 07f75028820e3f893353a823bbc0f35541426a81 pkg/eole/eole-2.6/2.6.2-5 pkg/eole/eole-2.7/2.7.1-7 pkg/eole/eole-2.7/2.7.2-3
#7 Updated by Fabrice Barconnière about 3 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) set to 0.0