- ABP Framework version: v5.1.2
- UI type: Blazor
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): **yes **/ no
- Exception message and stack trace:
- Steps to reproduce the issue:" GetEntityChangesWithUsernameAsync -> return no results. Whereas GetEntityChangesAsync has results.
Using the inbuilt IAuditLogsAppService service method I am not getting any results, whereas the GetEntityChangesAsync returns results. See the attached image showing the problem.
10 Answer(s)
-
0
Hi,
I will check it out
-
0
Hi,
Entity change logging is not supported by the MongoDB provider. Other features work as expected.
See https://docs.abp.io/en/abp/latest/Audit-Logging#database-provider-support.
For reason: https://github.com/abpframework/abp/issues/5031#issuecomment-672629291
-
0
Hi,
Entity change logging is not supported by the MongoDB provider. Other features work as expected.
See https://docs.abp.io/en/abp/latest/Audit-Logging#database-provider-support.
For reason: https://github.com/abpframework/abp/issues/5031#issuecomment-672629291
Hi there, thanks for the reply. We are not using Mongo, we are on EF Core / MS SQL.
-
0
-
0
-
0
Ok, I will check it again, thanks.
-
0
Ok, I will check it again, thanks.
Thank you, looking forward to your response.
-
0
Hi,
The
EntityTypeFullName
is required.For example:
var result = await _auditLogsAppService.GetEntityChangesWithUsernameAsync(new EntityChangeFilter(){EntityId = log, EntityTypeFullName = typeof(IdentityRole).FullName});
-
0
Hi,
The
EntityTypeFullName
is required.For example:
var result = await _auditLogsAppService.GetEntityChangesWithUsernameAsync(new EntityChangeFilter(){EntityId = log, EntityTypeFullName = typeof(IdentityRole).FullName});
Thanks for the reply. What exactly am I to pass as the EntityTypeFullName. I've tried variations from the full entity name, with/without namespace etc.
-
0
Nevermind, typo on my part! Resolved. Thanks for your help.