Actions
Bug #113251
closedtestdef, crash avec un champ plage horaire
Start date:
05 January 2026
Due date:
% Done:
0%
Estimated time:
Patch proposed:
No
Planning:
No
Description
https://sentry.entrouvert.org/organizations/entrouvert/issues/7006/
À analyser
TypeError: 'NoneType' object is not subscriptable
File "wcs/qommon/afterjobs.py", line 202, in run
self.execute()
File "wcs/admin/tests.py", line 958, in execute
results = self.run_tests(objectdef, reason, self.kwargs.get('triggered_by', ''))
File "wcs/admin/tests.py", line 1001, in run_tests
test.run(objectdef)
File "wcs/testdef.py", line 585, in run
self._run(objectdef, seen_uuids)
File "wcs/testdef.py", line 642, in _run
self.run_form_fill(objectdef, formdata.data)
File "wcs/testdef.py", line 700, in run_form_fill
self.fill_page_fields(fields, page, form_data, objectdef)
File "wcs/testdef.py", line 761, in fill_page_fields
self.run_widget_validation(field, value)
File "wcs/testdef.py", line 812, in run_widget_validation
widget.set_value(value)
File "wcs/qommon/form.py", line 4229, in set_value
start_datetime = datetime.datetime.fromisoformat(value['start_datetime'])
Updated by Valentin Deniaud 8 days ago
- Status changed from Nouveau to En cours
🤖 Une pull request concernant ce ticket a été ouverte :
- URL : https://git.entrouvert.org/entrouvert/wcs/pulls/2557
- Titre : WIP: testdef: do not set empty widget value (#113251)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/2557/files
Updated by Valentin Deniaud 8 days ago
- Status changed from En cours to Solution proposée
Updated by Frédéric Péters about 21 hours ago
- Status changed from Solution proposée to Solution validée
🤖 Pull request approuvée :
Updated by Valentin Deniaud about 21 hours ago
- Status changed from Solution validée to Résolu (à déployer)
🤖 Pull request fusionnée :
- URL : https://git.entrouvert.org/entrouvert/wcs/pulls/2557
- Titre : testdef: do not set empty widget value (#113251)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/2557/files
Updated by Transition automatique about 4 hours ago
- Status changed from Résolu (à déployer) to Solution déployée
Actions