1

Closed

We should not allow to delete page templates when there are pages which use them.

description

We should not allow to delete page templates when there are pages which use them.

currently if you delete a template - all pages using it become broken because templateid field in the Pages table becomes NULL.

show the following error message:

This template cannot be deleted because there are pages (or old page revisions) using it.
Closed Jun 25, 2015 at 11:17 AM by SergeiP
This ticket is now finilised with the changeset: https://f8cmf.codeplex.com/SourceControl/changeset/073598fee749

comments

Anton_Vorotincev wrote Dec 26, 2014 at 8:52 AM

Modify SP TemplateDelete for check posibility to remove current template. Add migration scripts. Small code modification.