You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
help_text=_("Authentication details of a co-signer."),
)
This highlights that the serializer is outdated, but also that it's not being called to check the input data.
Related information: #3149 has a bullet about moving the co sign data into a proper model rather than using a JSONField. The main problem here is that the shape of data is ambiguous/not clear from looking at the data model. The wrong serializer even describes an incorrect shape of data, which makes developing with this feature harder than it should be.
When we enforce validation on save, about 20 tests fail, per this comment
The text was updated successfully, but these errors were encountered:
The PDF was including the cosign data/component for version 1 of cosign,
which is not compatible at all with v2 (see #4308), causing crashes.
Generally this doesn't matter since the PDF is generated right after
submission is received and before its cosigned, and we don't usually
need to re-generate it except during development.
The PDF was including the cosign data/component for version 1 of cosign,
which is not compatible at all with v2 (see #4308), causing crashes.
Generally this doesn't matter since the PDF is generated right after
submission is received and before its cosigned, and we don't usually
need to re-generate it except during development.
Product versie / Product version
master / stable versions
Omschrijf het probleem / Describe the bug
Discovered in #4305
The serializer used for (model field) validation only supports the legacy co-sign flow:
open-forms/src/openforms/submissions/models/submission.py
Lines 124 to 130 in e780ea7
This highlights that the serializer is outdated, but also that it's not being called to check the input data.
Related information: #3149 has a bullet about moving the co sign data into a proper model rather than using a JSONField. The main problem here is that the shape of data is ambiguous/not clear from looking at the data model. The wrong serializer even describes an incorrect shape of data, which makes developing with this feature harder than it should be.
When we enforce validation on save, about 20 tests fail, per this comment
The text was updated successfully, but these errors were encountered: