You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When wanting to remove old versions of a certain node, it results in a SQL exceptio:
System.Data.SqlClient.SqlException (0x80131904): The DELETE statement conflicted with the REFERENCE constraint "FK_umbracoDocumentVersion_umbracoContentVersion_id". The conflict occurred in database "korzo_nl", table "dbo.umbracoDocumentVersion", column 'id'.
The statement has been terminated.
Reproduction
Steps to reproduce
Just by doing this in code:
var cs = Current.Services.ContentService;
cs?.DeleteVersions(id, DateTime.Now);
the actual exception occures.
In Umbraco 8.0 to 8.1.3
Expected result
Expecting the method just to execute without any errors/exceptions and the versions being removed from database.
Actual result
Versions are not removed, exception occures and is shown in log.
The text was updated successfully, but these errors were encountered:
When wanting to remove old versions of a certain node, it results in a SQL exceptio:
Reproduction
Steps to reproduce
Just by doing this in code:
the actual exception occures.
In Umbraco 8.0 to 8.1.3
Expected result
Expecting the method just to execute without any errors/exceptions and the versions being removed from database.
Actual result
Versions are not removed, exception occures and is shown in log.
The text was updated successfully, but these errors were encountered: