This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/master by this push:
     new 1fee4fb7eb [SYNCOPE-1980] Fix empty audit history diff under Jackson 3 
(#1439)
1fee4fb7eb is described below

commit 1fee4fb7eba58de94255ae6331e5b99c995f0aa8
Author: Oleg Zimakov <[email protected]>
AuthorDate: Thu Jun 25 03:41:53 2026 -0700

    [SYNCOPE-1980] Fix empty audit history diff under Jackson 3 (#1439)
---
 .../org/apache/syncope/client/console/audit/AuditHistoryDetails.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/audit/AuditHistoryDetails.java
 
b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/audit/AuditHistoryDetails.java
index 2f46c30b68..616beb2f01 100644
--- 
a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/audit/AuditHistoryDetails.java
+++ 
b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/audit/AuditHistoryDetails.java
@@ -341,7 +341,8 @@ public abstract class AuditHistoryDetails<T extends 
Serializable> extends Panel
                 return Model.of();
             }
 
-            T entity = MAPPER.reader().
+            @SuppressWarnings("unchecked")
+            T entity = (T) MAPPER.readerFor(currentEntity.getClass()).
                     with(StreamReadFeature.STRICT_DUPLICATE_DETECTION).
                     readValue(content);
             if (entity instanceof UserTO userTO) {

Reply via email to