Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZGW APIs registration gives a ValidationError #4899

Closed
vaszig opened this issue Dec 10, 2024 · 0 comments · Fixed by #4903
Closed

ZGW APIs registration gives a ValidationError #4899

vaszig opened this issue Dec 10, 2024 · 0 comments · Fixed by #4903
Assignees
Milestone

Comments

@vaszig
Copy link
Contributor

vaszig commented Dec 10, 2024

Product versie / Product version

latest

Customer reference

No response

Omschrijf het probleem / Describe the bug

Having configured a ZGW APIs registration in the admin we get a confirmation code like OF-ASXGZE and the real registration fails.

We can see the ValidationError in the Submission's registration backend result:

ValidationError: {'product_url': [ErrorDetail(string='Dit veld mag niet leeg zijn.', code='blank')], 'zaaktype': [ErrorDetail(string='Dit veld mag niet leeg zijn.', code='blank')], 'informatieobjecttype': [ErrorDetail(string='Dit veld mag niet leeg zijn.', code='blank')]

Stappen om te reproduceren / Steps to reproduce

  1. Add a registration backend
  2. Choose ZGW APIs
  3. Choose an API Group, Catalogue, CaseType and DocumentType

Verwacht gedrag / Expected behavior

No response

Screen resolution

None

Device

None

OS

None

Browser

No response

@vaszig vaszig added the bug label Dec 10, 2024
@vaszig vaszig self-assigned this Dec 10, 2024
@vaszig vaszig added this to the Release 3.0 milestone Dec 10, 2024
@vaszig vaszig moved this from Todo to In Progress in Development Dec 10, 2024
@vaszig vaszig moved this from In Progress to Implemented in Development Dec 11, 2024
@vaszig vaszig added needs-backport Fix must be backported to stable release branch and removed needs-backport Fix must be backported to stable release branch labels Dec 11, 2024
vaszig added a commit that referenced this issue Dec 11, 2024
…or-in-zgw-registration

[#4899] Fix optional serializer fields in ZaakOptionsSerializer
@github-project-automation github-project-automation bot moved this from Implemented to Done in Development Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant