Project

General

Profile

Project activity #31206

closed

Natuurlijk persoon toevoegen op dev tezza werkt niet

Added by Diego Mirandola about 2 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
P3 High
Assignee:
Category:
-
Target version:
Start date:
12/03/2025
Due date:
% Done:

100%

Estimated time:

Description

Als ik in dev-tezza een natuurlijk persoon toevoegt als betrokkene in een zaak werkt dit niet.
Dit werkt wel met andere betrokkenetypen (nnp en vestiging) en het werkt op test-tezza en lokaal in development branch van tezza-workspace.

Graag analyseren en fixen.

Openzaak zegt: {'betrokkene': [ErrorDetail(string='Voer een geldige URL in.', code='invalid')]}
Volledige error:

2025-03-12 08:06:56,910 ERROR vng_api_common.exception_handling  Exception 54e7f3bb-6068-49fe-85df-b42002fba78f ocurred

Traceback (most recent call last):

  File "/usr/local/lib/python3.10/site-packages/rest_framework/views.py", line 506, in dispatch

    response = handler(request, *args, **kwargs)

  File "/usr/local/lib/python3.10/site-packages/notifications_api_common/viewsets.py", line 188, in create

    response = super().create(request, *args, **kwargs)

  File "/usr/local/lib/python3.10/site-packages/vng_api_common/audittrails/viewsets.py", line 113, in create

    response = super().create(request, *args, **kwargs)

  File "/usr/local/lib/python3.10/site-packages/rest_framework/mixins.py", line 18, in create

    serializer.is_valid(raise_exception=True)

  File "/usr/local/lib/python3.10/site-packages/rest_framework/serializers.py", line 228, in is_valid

    raise ValidationError(self.errors)

rest_framework.exceptions.ValidationError: {'betrokkene': [ErrorDetail(string='Voer een geldige URL in.', code='invalid')]}

2025-03-12 08:06:56,910 ERROR vng_api_common.exception_handling  Exception 54e7f3bb-6068-49fe-85df-b42002fba78f ocurred

Traceback (most recent call last):

  File "/usr/local/lib/python3.10/site-packages/rest_framework/views.py", line 506, in dispatch

    response = handler(request, *args, **kwargs)

  File "/usr/local/lib/python3.10/site-packages/notifications_api_common/viewsets.py", line 188, in create

    response = super().create(request, *args, **kwargs)

  File "/usr/local/lib/python3.10/site-packages/vng_api_common/audittrails/viewsets.py", line 113, in create

    response = super().create(request, *args, **kwargs)

  File "/usr/local/lib/python3.10/site-packages/rest_framework/mixins.py", line 18, in create

    serializer.is_valid(raise_exception=True)

  File "/usr/local/lib/python3.10/site-packages/rest_framework/serializers.py", line 228, in is_valid

    raise ValidationError(self.errors)

rest_framework.exceptions.ValidationError: {'betrokkene': [ErrorDetail(string='Voer een geldige URL in.', code='invalid')]}

2025-03-12 08:06:56,911 WARNING django.request  Bad Request: /zaken/api/v1/rollen

2025-03-12 08:06:56,911 WARNING django.request  Bad Request: /zaken/api/v1/rollen

[pid: 24|app: 0|req: 242/332] 10.30.4.104 () {50 vars in 1096 bytes} [Wed Mar 12 08:06:56 2025] POST /zaken/api/v1/rollen => generated 299 bytes in 494 msecs (HTTP/1.1 400) 9 headers in 283 bytes (1 switches on core 0)

Voorbeeld request:
Endpoint: POST alfresco/s/api/action-processor
Body:

{
    "executeAsynchronously": true,
    "parameters": [
        {
            "actionsToQueue": [
                {
                    "actionName": "rolCreate",
                    "actionedUponNodeRef": "workspace://SpacesStore/b44f5aba-5246-44e1-b8d2-d3dd5686288a",
                    "executeAsynchronously": false,
                    "parameters": [
                        {
                            "roltype": "https://dev-tezza-openzaak.contezza.cloud/catalogi/api/v1/roltypen/1c640db3-1086-46a5-b1d2-74ab2628e694",
                            "betrokkeneType": "natuurlijk_persoon",
                            "roltoelichting": "000009830|T.R.P. van der Ven-Van Roedelrode tot Broekzucht",
                            "betrokkeneIdentificatie": {
                                "inpBsn": "000009830",
                                "geslachtsnaam": "Ven-Van Roedelrode tot Broekzucht",
                                "voorvoegselGeslachtsnaam": "van der",
                                "voorletters": "T.R.P.",
                                "voornamen": "Theodoor-Christiaan R. Philip ",
                                "geslachtsaanduiding": "M",
                                "geboortedatum": "1975-07-07" 
                            }
                        }
                    ]
                }
            ]
        }
    ],
    "actionName": "queueAction",
    "actionedUponNodeRef": "" 
}


Files

clipboard-202503251604-lzcmx.png (130 KB) clipboard-202503251604-lzcmx.png Diego Mirandola, 25/03/2025 04:04 PM

Related issues 1 (0 open1 closed)

Related to Tezza - Project activity #30789: Mock service voor BRP beschikbaar maken op dev en testResolvedSabine Schoppers31/01/2025

Actions
Actions #1

Updated by Diego Mirandola about 2 months ago

  • Description updated (diff)
Actions #2

Updated by Diego Mirandola about 2 months ago

  • Description updated (diff)
Actions #3

Updated by Diego Mirandola about 2 months ago

  • Description updated (diff)
Actions #4

Updated by Tahir Malik about 2 months ago

  • Assignee changed from Contezza Development to Rick de Rooij
  • Priority changed from P4 Normal to P3 High
Actions #5

Updated by Rick de Rooij about 2 months ago

Actions #6

Updated by Rick de Rooij about 2 months ago

Het werkt nu weer, zie: https://dev-tezza.contezza.cloud/tezza/#/details/98c2f312-5578-4c35-8fb7-4e0732efa825/rollen

Het probleem was de url in de alfresco config, moest .local achter. Door dit punt zag ik dat onderzoek brp ook gemerged was met acc wat niet de bedoeling is. Ik heb een clean commit gemaakt met de essentiele wijzigingen, zit in branch: fix/personen_mock_api_brp/#31206

https://git.contezza.nl/develop/products/tezza-workspace/-/commit/33d5cb194d4b2c45abf9f236b5d6b8f467bd5682

Ik ga een revert doen op de acc branch zodat deze weer 'clean' is.

Actions #7

Updated by Rick de Rooij about 2 months ago

  • Status changed from Backlog to In Progress
  • Target version changed from Tezza Backlog to Tezza 2025.03
Actions #9

Updated by Rick de Rooij about 2 months ago

  • Assignee changed from Rick de Rooij to Diego Mirandola

Dit werkt nu op dev en acc.

Actions #10

Updated by Diego Mirandola about 2 months ago

Gevalideerd op dev en acc

Actions #11

Updated by Rick de Rooij about 2 months ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF