Development #74260
erreur js en cas d'erreur l'appel /live
Début:
07 février 2023
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Non
Description
Réponse obtenue
{"result": "error", "reason": "form deserialization failed: a datasource is unavailable"}
Uncaught TypeError: cannot use 'in' operator to search for "length" in "error"
dans qommon.forms.js,
success: function(json) { --> $.each(json.result, function(key, value) { if (value.block_id && value.block_row) {
(je ne sais pas trop ce qu'on pourrait avoir comme comportement)
Révisions associées
Historique
Mis à jour par Robot Gitea il y a environ un an
- Statut changé de Nouveau à Solution proposée
- Assigné à mis à Frédéric Péters
Frédéric Péters (fpeters) a ouvert une pull request sur Gitea concernant cette demande :
- URL : https://gitea.entrouvert.org/entrouvert/wcs/pulls/96
- Titre : misc: abort /live js handling if response was error (#74260)
- Modifications : https://gitea.entrouvert.org/entrouvert/wcs/pulls/96/files
Mis à jour par Robot Gitea il y a environ un an
- Statut changé de Solution proposée à Solution validée
Lauréline Guérin (lguerin) a approuvé une pull request sur Gitea concernant cette demande :
Mis à jour par Robot Gitea il y a environ un an
- Statut changé de Solution validée à Résolu (à déployer)
Frédéric Péters (fpeters) a mergé une pull request sur Gitea concernant cette demande :
- URL : https://gitea.entrouvert.org/entrouvert/wcs/pulls/96
- Titre : misc: abort /live js handling if response was error (#74260)
- Modifications : https://gitea.entrouvert.org/entrouvert/wcs/pulls/96/files
Mis à jour par Transition automatique il y a environ un an
- Statut changé de Résolu (à déployer) à Solution déployée
misc: abort /live js handling if response was error (#74260)