Merge branch 'master' into develop

This commit is contained in:
2024-06-04 21:25:37 +02:00

View File

@@ -158,6 +158,8 @@ public class AsyncHistoryManager {
for (Field entityChildField : childs) {
try {
Object entityChildRef = entityChildField.get(data);
if(entityChildRef == null) continue;
if (entityChildRef instanceof List) {
for (EntityBase entityChild : (List<EntityBase>) entityChildRef) {
entityChild.setOnlyPkMaster(false);
@@ -165,7 +167,7 @@ public class AsyncHistoryManager {
} else
((EntityBase) entityChildRef).setOnlyPkMaster(false);
} catch (IllegalAccessException e) {
throw new RuntimeException(e);
logger.error("Sync", e);
}
}