gothinkster / aspnetcore-realworld-example-app

ASP.NET Core backend implementation for RealWorld
https://realworld.io
MIT License
1.93k stars 548 forks source link

Adding an existing tag when editing an article causes an error #92

Closed lyallo closed 2 years ago

lyallo commented 3 years ago

If you try to add a tag when editing an article, and that tag has already been used in one or more articles, a database error occurs because it is trying to insert a duplicate into the Tags table:

SQLite Error 19: 'UNIQUE constraint failed: Tags.TagId'.