Foreign key contraint problem when deleting old pages

Vote:
 
Hello, Dont know if this is a bug in the sp_DeleteOldPages stored procedure or in the framework but here goes. The EPiServer version is 4.51.5.145. A customer has deleted a page that other pages link to. He gets a warning that other pages link to it, but deletes it anyway. He then later wants to empty the wastebin and this error occurs. It's problematic to say the least, since the result is a ever-growing wastebin. I temporarily solved the issue by setting the deleted page's tblPage.Deleted value to 0, so the sp_DeleteOldPages can continue and process other deleted pages. Any help would be appreciated. C.
#17611
Mar 25, 2008 19:33
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.