Actions
Project activity #30919
open
Tijdens aanmaken zaak wordt zaakCreate action 2x aangeroepen
Start date:
11/02/2025
Due date:
% Done:
0%
Estimated time:
Description
Het lijkt erop dat tijdens het aanmaken van een nieuwe zaak via de tezza ui de action zaakCreate tweemaals wordt aangeroepen, zie de logs:
2025-02-11 12:04:45,236 DEBUG [zrc.action.ZaakCreateActionExecuter] [http-nio-8080-exec-6] Executing 'zaakCreate' action. 2025-02-11 12:04:45,480 DEBUG [zrc.action.ZaakCreateActionExecuter] [http-nio-8080-exec-6] Target folder: '2'. 2025-02-11 12:04:45,604 DEBUG [zrc.action.ZaakCreateActionExecuter] [http-nio-8080-exec-6] ZAAK-2025-0000000111 | 91b1c4aa-2f9e-4a5f-af2b-cfac1816dcd1 2025-02-11 12:04:45,732 DEBUG [zrc.action.VertrouwlijkheidCreateActionExecuter] [http-nio-8080-exec-6] Executing 'vertrouwlijkheidCreate' action. 2025-02-11 12:04:46,088 DEBUG [zrc.action.ZaakCreateActionExecuter] [http-nio-8080-exec-6] Zaak 'ZAAK-2025-0000000111' created (workspace://SpacesStore/91b1c4aa-2f9e-4a5f-af2b-cfac1816dcd1). 2025-02-11 12:04:46,209 DEBUG [zrc.action.StatusCreateActionExecuter] [http-nio-8080-exec-6] Executing 'statusCreate' action. 2025-02-11 12:04:46,311 INFO [api.script.ApiLogScript] [Camel (alfrescoCamelContext) thread #1 - JmsConsumer[nl.contezza.mq.actions]] [callback] [zaak_create] create zaak with name: ZAAK-2025-0000000111 2025-02-11 12:04:46,311 DEBUG [zrc.action.ZaakCreateActionExecuter] [Camel (alfrescoCamelContext) thread #1 - JmsConsumer[nl.contezza.mq.actions]] Executing 'zaakCreate' action. 2025-02-11 12:04:46,349 INFO [api.script.ApiLogScript] [Camel (alfrescoCamelContext) thread #1 - JmsConsumer[nl.contezza.mq.actions]] [callback] [zaak_create] error creating 'ZAAK-2025-0000000111'.
De tweede keer dat hij aangeroepen wordt geeft hij een error op zaak_create, waarschijnlijk omdat deze dus al bestaat. Dit gaat mis op zowel dev-tezza als test-tezza.
Het issue lijkt te zijn dat de zaakCreate eerst wordt aangeroepen via de action processor en daarna nogmaals via de callback_zaken_zaak_create: https://git.contezza.nl/develop/products/tezza-services/-/blob/main/platform/src/main/resources/alfresco/module/tezza-services-platform/script/callback_zaken_zaak_create.js?ref_type=heads#L31
Actions