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

AuditEvents and PredictableGuidEnabled setting causes duplicate key errors #264

Closed ChadOGeeks closed 5 years ago

ChadOGeeks commented 5 years ago

When appsettings.json is configured to have Audit insert, update and delete actions and data set to true and you also have the PredictableGuidEnabled setting (for Pangolin) set to true, duplicate key errors are thrown when updating entities (in our case it was when saving users)

ExceptionDetails.txt

hamidmayeli commented 5 years ago

Hi @ChadOGeeks,

When you enable the predictable Ids in your settings you should make sure that the database is dropped whenever the process is restarted. Are you sure this is not your issue?

ChadOGeeks commented 5 years ago

Thanks Hamid, after checking this again more recently I am not able to recreate the issue. Closing for now