Feedback
 
Did this article resolve your question/issue?

   

Your feedback is appreciated.

Please tell us how we can make this article more useful. Please provide us a way to contact you, should we need clarification on the feedback provided or if you need further assistance.

Characters Remaining: 1025

 


Article

Template is changed without the content editor explicitly saving the change

« Go Back

Information

 
Article Number000098888
EnvironmentProduct: Sitefinity
Version: 8.x, 9.x, 10.x, 11.x, 12.x
OS: All supported OS versions
Database: All supported Microsoft SQL Server versions
Question/Problem Description

Template is changed without the content editor explicitly saving the change.
When a user opens a page template, changes the template it is based on, exit without saving - Sitefinity shows the template is now based on the new template.

User-added image

Steps to Reproduce
Clarifying Information
Error Message
Defect/Enhancement Number
Cause
This is the expected behavior. 

Clicking the Done button on the Template selector dialog commits the change (if any) to the database. This is due to the nature of the PageTemplate objects in Sitefinity and also because of the fact that the operation being done through the template's Actions menu -> Base template behaves in the same manner (Done button being the trigger for saving the change).

This behavior is caused mainly by the nature of the objects (Page and Page template). Both are constructed by a presentation object and a properties object. Title & Properties and the Base template values (for Pages and Page templates respectively) are stored in the properties object while the presentation object is the one that passes through the workflows. In this sense Publish, Save as draft, etc. do not influence changes that are made on the properties object. Any changes to this object are directly persisted.
Resolution
A feature request can be logged through the Sitefinity Feedback Portal. Customer feedback is valuable and feature requests are monitored by our Product Management team. Feature requests are reviewed during the planning phase of each new product release. Once a feature request is submitted the Sitefinity Community will have the opportunity to comment on and vote for the feature request.
 
For detailed information on how to submit a Feature request, please refer to Knowledge Base article 000074190, How to submit a Sitefinity feature request
Workaround
Notes
Attachment 
Last Modified Date10/9/2019 8:44 AM