Copied to clipboard

Flag this post as spam?

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


  • Arturo Soler 24 posts 77 karma points
    Dec 17, 2015 @ 16:10
    Arturo Soler
    0

    Problem with same alias in document type and media type image

    I write this post thinking that in the future may help someone.

    I have had a problem when I set the same alias for a property in a document type and in the media type image.

    When I set the value of this property to an image, this value was not accessible from Razor (HasValue was false and value was null)

    However the value of the property was preserved and could be seen in the backoffice. Curious!

    Everything is solved when I changed the alias of the property in the media type Image.

    More curious! For this property I use a custom datatype Umbraco.dropdown, the problem does not occur on other properties of type text string that has the same alias in document types and images.

Please Sign in or register to post replies

Write your reply to:

Draft