Browse Source
Fix EntityId truncate length in EntityChange constructor
pull/25556/head
maliming
4 months ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
1 changed files with
1 additions and
1 deletions
-
modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/EntityChange.cs
|
|
|
@ -47,7 +47,7 @@ public class EntityChange : Entity<Guid>, IMultiTenant, IHasExtraProperties |
|
|
|
ChangeTime = entityChangeInfo.ChangeTime; |
|
|
|
ChangeType = entityChangeInfo.ChangeType; |
|
|
|
EntityTenantId = entityChangeInfo.EntityTenantId; |
|
|
|
EntityId = entityChangeInfo.EntityId.Truncate(EntityChangeConsts.MaxEntityTypeFullNameLength); |
|
|
|
EntityId = entityChangeInfo.EntityId.Truncate(EntityChangeConsts.MaxEntityIdLength); |
|
|
|
EntityTypeFullName = entityChangeInfo.EntityTypeFullName.TruncateFromBeginning(EntityChangeConsts.MaxEntityTypeFullNameLength); |
|
|
|
|
|
|
|
PropertyChanges = entityChangeInfo |
|
|
|
|