Try Now
More in this section

Forums / Bugs & Issues / Template still attached to deleted pages

Template still attached to deleted pages

2 posts, 0 answered
  1. Chip
    Chip avatar
    14 posts
    25 Nov 2013
    21 Oct 2014
    Link to this post
    I cannot delete a couple of templates because they are still flagged as in use by pages. These pages were deleted a while back. Can I manually delete the relationships in the database since they are still showing a relationship? Is this a foreign key constraint of some sort that denies deletion of a template? 
  2. Bobby
    Bobby avatar
    10 posts
    22 Nov 2016
    22 Oct 2014
    Link to this post
    Hi Chip,

    That problem is probably related to the Recycle Bin module, if you delete a page and it goes to the Recycle Bin module, the relation between the page and its template persists.

    As a quick fix you can permanent delete those pages that does not allow you to delete the template.

    If you're not using RB module, can you please provide us with more information about the problem like are these pages in multilingual / multisite mode and when you click on the template counter do you see the name of the pages there like here.

    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
2 posts, 0 answered