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
I tried to create a Partij through the Admin interface. I clicked "Opslaan en opnieuw bewerken", because i wanted to Add a partijIdenficator next. But that button resulted in a 500-error (white screen with text: Sorry, a server error has occurred (500))
When I then tried to view the details of that partij in the Admin interface, I also get a 500-error.
NB: i see that the URL that gives the error is https://openklant24.dev.kiss-demo.nl/admin/klantinteracties/partij/2/change/, whereas the nummer of the Partij is 0000000001. I'm not sure if that might be relevant.
For reference, I think what is going on here is that the admin does not enforce the presence of the corresponding partijIdentificatie when creating a Partij. Creating a bare Partij will 500, but you are able to create e.g. a persoon if you also add a Persoon object at creation time. It seems to me the admin/model validation should enforce that the Partij and appropriate partijIdentificatie are always created together.
Product versie / Product version
2.4.0 83f9aec
Omschrijf het probleem / Describe the bug
I tried to create a Partij through the Admin interface. I clicked "Opslaan en opnieuw bewerken", because i wanted to Add a
partijIdenficator
next. But that button resulted in a 500-error (white screen with text: Sorry, a server error has occurred (500))I then created a
partij
using Postman:When I then tried to view the details of that partij in the Admin interface, I also get a 500-error.
NB: i see that the URL that gives the error is https://openklant24.dev.kiss-demo.nl/admin/klantinteracties/partij/2/change/, whereas the
nummer
of thePartij
is0000000001
. I'm not sure if that might be relevant.I created a second partij. And at this point I can see 2 Partijen in the Admin interface, on https://openklant24.dev.kiss-demo.nl/admin/klantinteracties/partij/
But when i click to view the details i get a 500 error.
And by now, when I click the "Partij toevoegen"-button, I also get a 500-error.
Stappen om te reproduceren / Steps to reproduce
No response
Verwacht gedrag / Expected behavior
No response
The text was updated successfully, but these errors were encountered: