When trying to update a report, the server replies with 500:
"System.InvalidOperationException: The association between entity types 'Report' and 'ReportValidation' has been severed but the relationship is either marked as 'Required' or is implicitly required because the foreign key is not nullable. If the dependent/child entity should be deleted when a required relationship is severed, then setup the relationship to use cascade deletes. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the key values.", " at Ermes.EntityFrameworkCore.ErmesDbContext.SaveChangesAsync(CancellationToken cancellationToken) in /src/src/Ermes.EntityFrameworkCore/EntityFrameworkCore/ErmesDbContext.cs:line 367",
Original report by Luca Bruno (Bitbucket: lukkia, GitHub: lucabruno91).
When trying to update a report, the server replies with 500:
"System.InvalidOperationException: The association between entity types 'Report' and 'ReportValidation' has been severed but the relationship is either marked as 'Required' or is implicitly required because the foreign key is not nullable. If the dependent/child entity should be deleted when a required relationship is severed, then setup the relationship to use cascade deletes. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the key values.", " at Ermes.EntityFrameworkCore.ErmesDbContext.SaveChangesAsync(CancellationToken cancellationToken) in /src/src/Ermes.EntityFrameworkCore/EntityFrameworkCore/ErmesDbContext.cs:line 367",