We have moved to GitHub Issues
You are viewing the read-only archive of Umbraco's issue tracker. To create new issues, please head over to GitHub Issues.
Make sure to read the blog posts announcing the move for more information.
Created by Douglas Robar 14 Jan 2014, 11:37:19 Updated by Sebastiaan Janssen 15 Jan 2014, 20:02:36
v7.0.1 Create a new partial view and select the 'empty' snippet. The file is 100% empty.
It should have the following line at the top: @inherits Umbraco.Web.Mvc.UmbracoTemplatePage
Oversight on my part, fixed now in rev 5c55d6a6e3ad22aafe7d989fd40a7a6f699d8610
This would appear to be an issue with 6.x as well...
This is not the correct fix.
All Settings>PartialView snippets have this at the top: @inherits Umbraco.Web.Mvc.UmbracoTemplatePage
The fix has done two things:
The dialog has changed label from "Choose snippet" to "Choose template". It should be 'snippet' as discussed in U4-2737. This reversion from 'snippet' to 'template' appears in the Create dialogs for Partial Views, Scripting Files, and Partial View Macro Files (and maybe others I didn't think to check)
The 'Empty' snippet has the wrong @inherits (using .PartialViewMacroPage instead)
Eh.. Well it definitely didn't happen with this commit, not sure how it got reverted. :/
Well this is embarrassing.. Updated again (99e91a1053d9bc249efd27d980a0ea35f4eecd77 for 6.2.0 and 168abddacfd7cfcb243490650b54f32a6bf25129 for 7.0.2) - fixing both issues.
Backwards Compatible: True
Affected versions: 6.1.0, 7.0.0, 6.1.1, 6.1.2, 6.1.3, 6.1.4, 6.1.5, 6.1.6, 7.0.1
Due in version: 6.2.0, 7.0.2