Copied to clipboard

Flag this post as spam?

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


  • nelsenlim 70 posts 71 karma points
    Sep 26, 2011 @ 13:54
    nelsenlim
    0

    umbraco razor 471 media with Id 0

    Hi in umbraco 471 when running the code to loop for image inside a folder, i receive a children where the Id is 0
    I always get this even when i am looping an empty folder

    @inherits umbraco.MacroEngines.DynamicNodeContext
    @if (Model.HasProperty("media") && Model.media != 0)
    {
        var folder = @Model.Media("media");
        foreach (var image in folder.Children)
        {
            <span>@image.Id</span>
            <img src="@image.umbracoFile" height="@image.umbracoHeight" width="@image.umbracoWidth" />
        }
    }

    Does anyone get this bug as well?

  • Gareth Evans 143 posts 335 karma points c-trib
    Oct 04, 2011 @ 22:31
    Gareth Evans
    0

    Try the 4.7.1.1 nightly,  this bug is fixed

  • nelsenlim 70 posts 71 karma points
    Oct 05, 2011 @ 04:44
    nelsenlim
    0

    Hi, do you happen to know if 4.7.1.1 is gonna come out soon?
    How do i try the 4.7.1.1 Nightly

    http://umbraco.codeplex.com/ then where should i get the build?
    Thank u very much for the help

  • Gareth Evans 143 posts 335 karma points c-trib
    Oct 05, 2011 @ 04:45
    Gareth Evans
    0

    Well, it won't build until tomorrow night, but you can just update the macroengines dll from here: http://dl.dropbox.com/u/2923715/LatestRazorMacroEngine-Only.zip

  • nelsenlim 70 posts 71 karma points
    Oct 05, 2011 @ 08:20
    nelsenlim
    0

    Hi Gareth, I update the umbraco.MacroEngines.dll it's now working fine.
    Do you have any idea if umbraco 4.7.1.1 will be released soon so we can use the official version?
    Thank u v. much

  • Gareth Evans 143 posts 335 karma points c-trib
    Oct 05, 2011 @ 22:10
    Gareth Evans
    0

    Hi Nelsenlim,

    I am not sure when the 4.7.1.1 release is coming out however I think we are aiming to have a patch release out quicker than the delay between 4.7.0 and 4.7.1

Please Sign in or register to post replies

Write your reply to:

Draft