Bug #81673
caluire-axel: ne pas crasher si un enfant n'a pas de prénom
Start date:
27 September 2023
Due date:
% Done:
0%
Estimated time:
Patch proposed:
No
Planning:
No
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/112272/
AttributeError: 'NoneType' object has no attribute 'strip' File "passerelle/utils/jsonresponse.py", line 128, in api resp = f(*args, **kwargs) File "passerelle/views.py", line 568, in perform result = self.endpoint(request, **params) File "passerelle/contrib/caluire_axel/models.py", line 211, in children_info family_data = self.get_family_data(link.family_id) File "passerelle/contrib/caluire_axel/models.py", line 175, in get_family_data child['text'] = '{} {}'.format(child['PRENOM'].strip(), child['NOM'].strip()).strip() Error occurred while processing request
Files
Associated revisions
History
Updated by Robot Gitea 2 months ago
- Status changed from Nouveau to Solution proposée
- Assignee set to Lauréline Guérin
Lauréline Guérin (lguerin) a ouvert une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/passerelle/pulls/357
- Titre : caluire-axel: fix family_date with a None first name (#81673)
- Modifications : https://git.entrouvert.org/entrouvert/passerelle/pulls/357/files
Updated by Robot Gitea 2 months ago
- Status changed from Solution proposée to Solution validée
Nicolas Roche (nroche) a approuvé une pull request sur Gitea concernant cette demande :
Updated by Serghei Mihai 2 months ago
- File nouveau-né.jpeg nouveau-né.jpeg added
Le titre de ce ticket m'a rappelé l'affiche de la maternité.
Updated by Robot Gitea 2 months ago
- Status changed from Solution validée to Résolu (à déployer)
Lauréline Guérin (lguerin) a mergé une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/passerelle/pulls/357
- Titre : caluire-axel: fix family_date with a None first name (#81673)
- Modifications : https://git.entrouvert.org/entrouvert/passerelle/pulls/357/files
Updated by Transition automatique about 2 months ago
- Status changed from Résolu (à déployer) to Solution déployée
caluire-axel: fix family_date with a None first name (#81673)