We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
abp/framework/src/Volo.Abp.Auditing/Volo/Abp/Auditing/AuditingManager.cs
Lines 125 to 128 in f47a0c1
It doesn't save if no action or entity changes in the current request.
The text was updated successfully, but these errors were encountered:
@maliming can you work on that (I don't remember why I did this, but probably not needed to check this)
Sorry, something went wrong.
Consider this situation.
using (var scope = _auditingManager.BeginScope()) { await scope.SaveAsync(); }
Is auditing meaningless if there is no action or entity change?
Save audit logs even if no action performed in the request.
5616252
Resolve #2820
I think we should still save since the developer wanted it 😄
At least it saves information about the current web request.
Normally, this is intended to be used by the framework in one place (AbpAuditingMiddleware) and no where else.
maliming
Successfully merging a pull request may close this issue.
abp/framework/src/Volo.Abp.Auditing/Volo/Abp/Auditing/AuditingManager.cs
Lines 125 to 128 in f47a0c1
It doesn't save if no action or entity changes in the current request.
The text was updated successfully, but these errors were encountered: