Development #53651
manager, ReferenceError: a2_password_validate is not defined
Début:
02 mai 2021
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
Parfois en ouvrant la fenêtre de changement de mot passe, on a cette erreur js dans la console et les indicateurs sur les caractères ne fonctionnent donc pas.
Uncaught ReferenceError: a2_password_check_equality is not defined <anonymous> https://authentic.fred.local.0d.be/manage/users/69/ line 129 > injectedScript:1 jQuery 12 success https://authentic.fred.local.0d.be/static/js/gadjo.js:167 jQuery 6 deferred_timeout https://authentic.fred.local.0d.be/static/js/gadjo.js:10 setTimeout handler*deferred_timeout https://authentic.fred.local.0d.be/static/js/gadjo.js:9 success https://authentic.fred.local.0d.be/static/js/gadjo.js:155 jQuery 6 displayPopup https://authentic.fred.local.0d.be/static/js/gadjo.js:113 <anonymous> https://authentic.fred.local.0d.be/static/authentic2/manager/js/manager.js:154 jQuery 8 <anonymous> https://authentic.fred.local.0d.be/static/js/bootstrap-datetimepicker.js:1737 <anonymous> https://authentic.fred.local.0d.be/static/js/bootstrap-datetimepicker.js:1752
Réouvrir la popup fonctionne (parce qu'à ce moment le js a eu le temps d'être chargé/évalué/etc.).
Fichiers
Révisions associées
Historique
Mis à jour par Valentin Deniaud il y a presque 3 ans
- Fichier 0001-forms-do-not-call-password-validation-JS-too-early-5.patch 0001-forms-do-not-call-password-validation-JS-too-early-5.patch ajouté
- Tracker changé de Bug à Development
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Benjamin Dauvergne il y a presque 3 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Valentin Deniaud il y a presque 3 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 0274ea0caa0501a11c8c6a865445c164e2e345c7 Author: Valentin Deniaud <vdeniaud@entrouvert.com> Date: Wed May 5 14:40:20 2021 +0200 forms: do not call password validation JS too early (#53651)
Mis à jour par Frédéric Péters il y a presque 3 ans
- Statut changé de Résolu (à déployer) à Solution déployée
forms: do not call password validation JS too early (#53651)