Possible bugs with content rendering in V6 - MVC Views
I am hitting a couple of rendering issues in V6. I have been converting the site to use MVC.
I have a homepage document type with a rich text field defined called "footer", this field only exists in the home page data type which is also the content root.
Issue 1
In the template for the page I have the following:
@Model.Content.GetPropertyValue("footer", true)
When viewing the footer on the home page the content renders correctly, for all other pages in the site the content renders as encoded html (e.g. <p> renders and << etc)
I would expect it to be consistent on all pages.
Issue 2
Within the footer are is a link to an internal page, using @Model.Content.GetPropertyValue("footer", true) the link is correctly converted to the friendly url name if however I use:
Possible bugs with content rendering in V6 - MVC Views
I am hitting a couple of rendering issues in V6. I have been converting the site to use MVC.
I have a homepage document type with a rich text field defined called "footer", this field only exists in the home page data type which is also the content root.
Issue 1
In the template for the page I have the following:
@Model.Content.GetPropertyValue("footer", true)
When viewing the footer on the home page the content renders correctly, for all other pages in the site the content renders as encoded html (e.g. <p> renders and << etc)
I would expect it to be consistent on all pages.
Issue 2
Within the footer are is a link to an internal page, using @Model.Content.GetPropertyValue("footer", true) the link is correctly converted to the friendly url name if however I use:
@Umbraco.Field("footer", recursive: true, encoding: RenderFieldEncodingType.Unchanged)
The link is rendered as : href="/{localLink:1132}"
For the second issue - the url fails to be parsed correctly when the recursive: true parameter is supplied.
[Attempting to edit the original post resulted in an xslt error]
Issues can be reported here: http://issues.umbraco.org/dashboard#newissue=yes
Jeroen
is working on a reply...