Project

General

Profile

Bug #91037

UnknownCardValueError non attrapé sur apply_field_prefills (UnknownCardValueError: unknown card value ('None'))

Added by Sentry Io about 1 month ago. Updated 28 days ago.

Status:
Fermé
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
24 May 2024
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

https://sentry.entrouvert.org/entrouvert/publik/issues/126549/

UnknownCardValueError: unknown card value ('None')
(12 additional frame(s) were not displayed)
...
  File "wcs/forms/root.py", line 1560, in _q_index
    return self.page(self.pages[page_no])
  File "wcs/backoffice/submission.py", line 186, in page
    return super().page(page, *args, **kwargs, page_error_messages=page_error_messages)
  File "wcs/forms/root.py", line 710, in page
    had_prefill = self.apply_field_prefills(
  File "wcs/forms/root.py", line 532, in apply_field_prefills
    verify_value = field.convert_value_from_anything(verify_value)
  File "wcs/fields/item.py", line 563, in convert_value_from_anything
    raise UnknownCardValueError(value)

Related issues

Related to w.c.s. - Bug #91067: apply_prefill: erreur sur make_date (ValueError: invalid date value: 'None')Solution déployée27 May 2024

Actions

History

#2

Updated by Frédéric Péters 28 days ago

  • Status changed from Nouveau to Fermé

Ça va être corrigé via #91067.

#3

Updated by Frédéric Péters 28 days ago

  • Related to Bug #91067: apply_prefill: erreur sur make_date (ValueError: invalid date value: 'None') added

Also available in: Atom PDF