Bug #76022
search: ajax_results_view, vérifier qu'on n'a pas err:1 dans la réponse (TypeError: 'str' object does not support item assignment)
Start date:
30 March 2023
Due date:
% Done:
0%
Estimated time:
Patch proposed:
No
Planning:
No
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/109373/
TypeError: 'str' object does not support item assignment File "django/core/handlers/exception.py", line 47, in inner response = get_response(request) File "django/core/handlers/base.py", line 181, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "combo/apps/search/models.py", line 309, in ajax_results_view hit[k] = v.render(RequestContext(request, hit))
History
Updated by Lauréline Guérin 2 months ago
- Project changed from Suivi des traces to Combo
Dans la réponse:
{ data: {soap_fault: {...}}, err: 1, err_class: 'passerelle.utils.soap.SOAPFault', err_desc: 'SOAP service at https://pfs.integration.toulouse... }
Updated by Robot Gitea about 2 months ago
- Status changed from Nouveau to Solution proposée
Valentin Deniaud (vdeniaud) a ouvert une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/combo/pulls/80
- Titre : search: do not try to parse results in case of error (#76059)
- Modifications : https://git.entrouvert.org/entrouvert/combo/pulls/80/files
Updated by Robot Gitea about 2 months ago
- Status changed from Solution proposée to Solution validée
Lauréline Guérin (lguerin) a approuvé une pull request sur Gitea concernant cette demande :
Updated by Robot Gitea about 2 months ago
- Status changed from Solution validée to Résolu (à déployer)
Valentin Deniaud (vdeniaud) a mergé une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/combo/pulls/80
- Titre : search: do not try to parse results in case of error (#76022)
- Modifications : https://git.entrouvert.org/entrouvert/combo/pulls/80/files
Updated by Transition automatique about 2 months ago
- Status changed from Résolu (à déployer) to Solution déployée