Geeksltd / Olive

Olive framework, for more productive cross platform .NET solutions. It's available under the GPL v3 license. See License.md for more information.
https://geeksltd.github.io/Olive
Other
44 stars 44 forks source link

Audit log Exception #345

Closed Gargi82 closed 1 year ago

Gargi82 commented 2 years ago

Hi,

When I set audit in appsettings.json, as "Audit": { "Insert": { "Action": true, "Data": false }, application throws exception. The exception is: SqlException: Violation of PRIMARY KEY constraint 'PK__Applicat__3214EC06B18E4936'. Cannot insert duplicate key in object 'dbo.ApplicationEvents'. The duplicate key value is (ad0c8023-223b-4dd3-8a35-3692fdc0d99c). The statement has been terminated.

thank you

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.