U4-2629 - UmbracoViewPage doesn't handle preview badge and miniprofiler

Created by Mads Krohn 15 Aug 2013, 08:13:32 Updated by Sebastiaan Janssen 19 Aug 2013, 09:01:06

If you are rendering your views through a custom controller with a custom model, your views needs to inherit from UmbracoViewPage instead of the normal UmbracoTemplatePage since UmbracoTemplatePage isn't generic but just inherits from UmbracoViewPage.

This is a problem since the preview badge and miniprofiler code is only being rendered in UmbracoTemplatePage. We should move that logic to UmbracoViewPage to allow custom implementations to benefit from that code as well without needing to implement it ourself.


Sebastiaan Janssen 19 Aug 2013, 09:00:55

Pull request: https://github.com/umbraco/Umbraco-CMS/pull/79

Priority: Normal

Type: Bug

State: Fixed


Difficulty: Very Easy

Category: Architecture

Backwards Compatible: True

Fix Submitted: Pull request

Affected versions: 6.1.3

Due in version: 6.1.4


Story Points: