Project

General

Profile

Bevinding #35208

closed

Project activity #35056: AP 1.0 release

AP: Error bij Alfresco event in AP

Added by Erik Hoogland 5 months ago. Updated 4 months ago.

Status:
Resolved
Priority:
P5 Low
Category:
-
Target version:
Start date:
16/10/2025
Due date:
% Done:

0%

Estimated time:

Description

Af en toe komt deze error in het log voor, bij Alfresco events in AP. Dit heeft zover gezien geen effect op de werking van AP, nergens is missende data.
Dit zijn dus waarschijnlijk overige events, die geen actie in AP nodig hebben.

2025-10-16T07:02:25.664Z  INFO 1 --- [Authorization Management Services] [erContainer#0-1] n.c.ams.event.AlfrescoEventHandlers      : Processing event org.alfresco.event.assoc.child.Created of user GROUP_ALFRESCO_ADMINISTRATORS for group GROUP_site_tezza_SiteContributor
java.util.NoSuchElementException: No value present
        at java.base/java.util.Optional.get(Optional.java:143)
        at nl.contezza.ams.handler.AlfrescoAssocEventHandler.updateTezzaBeheer(AlfrescoAssocEventHandler.java:94)
        at nl.contezza.ams.handler.AlfrescoAssocEventHandler.processAssocEvent(AlfrescoAssocEventHandler.java:78)

Dit lijkt in nl.contezza.ams.handler.AlfrescoAssocEventHandler.updateTezzaBeheer te zitten, mogelijk verwijst dit naar een site zonder profiel.
In dat geval, moet het event genegeerd worden.

Actions #1

Updated by Erik Hoogland 5 months ago

  • Target version changed from Tezza Backlog to Contezza Development 2025.10
  • Status changed from New to In Progress
  • Assignee set to Erik Hoogland
Actions #2

Updated by Erik Hoogland 5 months ago

  • Status changed from In Progress to Feedback

Het probleem was niet een ontbrekend profiel, maar een profiel zonder users. Door een onnodige join in de search query, werd het profiel niet gevonden.
Dit kwam voor bij profiel 'Tezza Bijdrager', wanneer er via een event een update van site 'Tezza Beheer' binnen kwam voor rol 'SiteContributor'

@Bram Geerlings Ik heb hiervoor mr https://git.contezza.nl/community/contezza-authorization-profiles/-/merge_requests/1 aangemaakt.

Actions #3

Updated by Erik Hoogland 5 months ago

  • Assignee changed from Erik Hoogland to Bram Geerlings
Actions #4

Updated by Erik Hoogland 4 months ago

  • Status changed from Feedback to Ready in Test
Actions #5

Updated by Erik Hoogland 4 months ago

  • Status changed from Ready in Test to Test approved
Actions #6

Updated by Erik Hoogland 4 months ago

Dit is op test approved gezet, gezien het al naar main is gemerged, maar nog niet in een release zit

Actions #7

Updated by Bram Geerlings 4 months ago

Zie #35225 voor release informatie

Actions #8

Updated by Bram Geerlings 4 months ago

  • Status changed from Test approved to Resolved
Actions #9

Updated by Tahir Malik 4 months ago

  • Target version changed from Contezza Development 2025.10 to AP 1.0

Also available in: Atom PDF