Commit 20604210 authored by handolukats's avatar handolukats
Browse files

TEIS-1214 updated auditlog methods to convert uuid values to string for...

TEIS-1214 updated auditlog methods to convert uuid values to string for parentdataobjectid and dataobjectid
parent 81e0d889
theGroup=ee.sm.ti.teis
theVersion=1.3.1
commonsVersion=1.5.1
officeApiGatewayVersion=1.5.1
theVersion=1.4.0-SNAPSHOT
commonsVersion=1.6.0-SNAPSHOT
officeApiGatewayVersion=1.6.0-SNAPSHOT
pluginVersion=1.0.1
mapstructVersion=1.3.0.Final
querydslVersion=4.1.3
......@@ -54,7 +54,7 @@ public class OfficialNotifyService {
AuditLogItem auditLogItem = AuditLogItem.builder()
.activityType(UPDATE)
.dataObjectType(OFFICIAL_USERS.name())
.dataObjectId(updatedEntity.getId())
.dataObjectId(updatedEntity.getId().toString())
.build();
auditLogItem.setActivityDescription(messageSource.getAuditlogMessage(auditLogItem, updatedEntity.getIdCode(),
......@@ -71,7 +71,7 @@ public class OfficialNotifyService {
AuditLogItem auditLogItem = AuditLogItem.builder()
.activityType(DELETE)
.dataObjectType(OFFICIAL_USERS.name())
.dataObjectId(entity.getId())
.dataObjectId(entity.getId().toString())
.build();
auditLogItem.setActivityDescription(messageSource.getAuditlogMessage(auditLogItem, composeOfficialFullName(entity),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment