Copied to clipboard

Flag this post as spam?

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


  • Andrew Bright 84 posts 244 karma points
    Nov 26, 2019 @ 17:19
    Andrew Bright
    0

    Umazel model generator issue

    Just tried to update the service item doc type with a media picker center image then went into the developer section and executed the model rebuilder and now getting the below error and can not even get into umbraco anymore:

    Line 27:             //TODO: Get image from media and image cropped correctly
    Line 28:             IPublishedContent mediaItem = null;
    Line 29:             if (!string.IsNullOrEmpty(item.ListImage))
    Line 30:             {
    Line 31:                 mediaItem = item.GetPickerMediaByValue(item.ListImage).First();
    

    Please help.

Please Sign in or register to post replies

Write your reply to:

Draft