Browse Source

Increase max full-name length limits to 512

pull/24846/head
maliming 4 months ago
parent
commit
ab61c633a1
No known key found for this signature in database GPG Key ID: A646B9CB645ECEA4
  1. 2
      framework/src/Volo.Abp.Auditing/Volo/Abp/Auditing/EntityPropertyChangeInfo.cs
  2. 4
      modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/EntityChangeConsts.cs
  3. 4
      modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/EntityPropertyChangeConsts.cs

2
framework/src/Volo.Abp.Auditing/Volo/Abp/Auditing/EntityPropertyChangeInfo.cs

@ -21,7 +21,7 @@ public class EntityPropertyChangeInfo
/// Maximum length of <see cref="PropertyTypeFullName"/> property.
/// Value: 512.
/// </summary>
public static int MaxPropertyTypeFullNameLength = 192;
public static int MaxPropertyTypeFullNameLength = 512;
public virtual string? NewValue { get; set; }

4
modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/EntityChangeConsts.cs

@ -3,9 +3,9 @@
public class EntityChangeConsts
{
/// <summary>
/// Default value: 128
/// Default value: 512
/// </summary>
public static int MaxEntityTypeFullNameLength { get; set; } = 128;
public static int MaxEntityTypeFullNameLength { get; set; } = 512;
/// <summary>
/// Default value: 128

4
modules/audit-logging/src/Volo.Abp.AuditLogging.Domain.Shared/Volo/Abp/AuditLogging/EntityPropertyChangeConsts.cs

@ -18,7 +18,7 @@ public class EntityPropertyChangeConsts
public static int MaxPropertyNameLength { get; set; } = 128;
/// <summary>
/// Default value: 64
/// Default value: 512
/// </summary>
public static int MaxPropertyTypeFullNameLength { get; set; } = 64;
public static int MaxPropertyTypeFullNameLength { get; set; } = 512;
}

Loading…
Cancel
Save