Project

General

Profile

Actions

Bug #113251

closed

testdef, crash avec un champ plage horaire

Added by Valentin Deniaud 8 days ago. Updated about 4 hours ago.

Status:
Solution déployée
Priority:
Normal
Target version:
-
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'])

Actions #1

Updated by Valentin Deniaud 8 days ago

  • Assignee set to Valentin Deniaud
Actions #2

Updated by Valentin Deniaud 8 days ago

  • Status changed from Nouveau to En cours

🤖 Une pull request concernant ce ticket a été ouverte :

Actions #3

Updated by Valentin Deniaud 8 days ago

  • Status changed from En cours to Solution proposée
Actions #4

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 :

Actions #5

Updated by Valentin Deniaud about 21 hours ago

  • Status changed from Solution validée to Résolu (à déployer)

🤖 Pull request fusionnée :

Actions #6

Updated by Transition automatique about 4 hours ago

  • Status changed from Résolu (à déployer) to Solution déployée
Actions

Also available in: Atom PDF