open-formulieren / open-forms

Smart and dynamic forms
https://open-forms.readthedocs.io
Other
36 stars 26 forks source link

int as value of select component issue #4772

Open LaurensBurger opened 4 days ago

LaurensBurger commented 4 days ago

Product versie / Product version

2.8.0

Customer reference

DH 707

Omschrijf het probleem / Describe the bug

Having an int as a value in a "select" component

image

will trigger "AssertionError openforms.submissions.tasks.pdf.generate_submission_report" and fail to register the submission with (Inzending 4118): PDF generatietaak mislukt

sentry 375771

Stappen om te reproduceren / Steps to reproduce

No response

Verwacht gedrag / Expected behavior

No response

Screen resolution

None

Device

None

OS

None

Browser

No response

joeribekker commented 4 days ago

@LaurensBurger the JSON doesn't seem to contain an int? Do you also know how the int is set there? Service fetch, manual JSON or just because theres a number given as select option???

LaurensBurger commented 3 days ago

just because theres a number given as select option: image