Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Richard Thompson 100 posts 336 karma points
    May 27, 2015 @ 18:03
    Richard Thompson
    0

    Umbraco.Web.PublishedCache.XmlPublishedCache.XmlPublishedProperty error after upgrade

    Hi,

    I've upgraded an Umbraco 6.1.6 site to 6.2.5 and most of the site is fine afterwards but I've had a couple of issues.

    I have a media type that has a textbox multiple property called slideCaptionOne.  After the upgrade rather than showing the text entered all that is output is Umbraco.Web.PublishedCache.XmlPublishedCache.XmlPublishedProperty.

    We're using the following code which worked fine before the upgrade:

    @slide.GetProperty("slideCaptionOne")

    Slide is created here:

    @foreach (var x in (Umbraco.Core.Dynamics.DynamicXml)Model.Content.GetPropertyValue("slides"))
        {
            var slide = Umbraco.TypedMedia(x.InnerText);

    Other properties on this type work fine.

  • Richard Thompson 100 posts 336 karma points
    Jun 05, 2015 @ 12:55
    Richard Thompson
    100

    @Html.Raw(@slide.GetPropertyValue("slideCaptionOne")) Seems to do the trick

Please Sign in or register to post replies

Write your reply to:

Draft