Copied to clipboard

Flag this post as spam?

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


  • Phil McCloghry-Laing 1 post 21 karma points
    Oct 18, 2011 @ 04:26
    Phil McCloghry-Laing
    0

    4.7.1 Media properties are used to populate GetChildrenAsList

    Hi everyone,

    After upgrading from 4.7.0 to 4.7.1, I discovered a problem when getting children of a Media item, using GetChildrenAsList. I found I was getting an additional blank node at the beginning of the list. Digging further, I found that it was grabbing all the properties of the parent media item along with it's children. When I added an additional property to the media type and resaved the media item it created an extra node.

    The root of the problem seems to be in the ExamineBackedMedia.GetChildrenMedia method.

    The XML it was grabbing was something like this:

    <articleGallery id="xxxx" ...>
    <aspectRatio><![CDATA[...]]></aspectRatio>
    <articleImage id="xxxx" ...>
    ...
    </articleImage>
    ...
    </articleGallery>

    Phil

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Oct 18, 2011 @ 09:01
    Dirk De Grave
    0

    Phil,

    Can you report this in Codeplex, it's not really a forum bug, so i'm also moving your post to another category.

     

    Cheers,

    /Dirk

  • Dan Diplo 1554 posts 6205 karma points MVP 6x c-trib
    Oct 18, 2011 @ 20:33
    Dan Diplo
    0

    Could this be related to the following issue I reported on Codeplex? http://umbraco.codeplex.com/workitem/30504

Please Sign in or register to post replies

Write your reply to:

Draft