U4-4294 - List Descendants from current page Partial View template incorrect

Created by Peter Gregory 24 Feb 2014, 23:50:04 Updated by Sebastiaan Janssen 25 Feb 2014, 09:07:24

The list descendants from current page Partial View template has an incorrect inheritance. It is currently inheriting from

@inherits Umbraco.Web.Macros.PartialViewMacroPage

When it should be

@inherits Umbraco.Web.Mvc.UmbracoTemplatePage

Replicate by:

Settings Paritals Views Create New From Template "List Descendants from Current Page"

Comments

Sebastiaan Janssen 25 Feb 2014, 08:17:28

Why? PartialViewMacroPage works perfectly.


Peter Gregory 25 Feb 2014, 08:21:35

For a standard Partial View its the wrong inheritance. Makes no sense when its not a ParialViewMacro.


Peter Gregory 25 Feb 2014, 08:22:26

Totally fine if what I am creating is a Partial View Macro in the Developer section but not when creating a Partial View in the Settings section.


Sebastiaan Janssen 25 Feb 2014, 08:33:46

Ah right, read incorrectly, didn't see it was a non macro.


Sebastiaan Janssen 25 Feb 2014, 09:07:17

I see it's already fixed in 7.1.0!


Priority: Normal

Type: Bug

State: Closed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.0.4

Due in version:

Sprint:

Story Points:

Cycle: