Copied to clipboard

Flag this post as spam?

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


  • Dante 7 posts 78 karma points
    May 08, 2017 @ 10:24
    Dante
    0

    Strange behaviour after upgrade from Umbraco 4 to 7

    Hi guys I have a strange behaviour after Umbraco upgrade from 4 to 7, but I don't know if is the standard one.

    When I use the following peace of code:

    umbraco Item ID= Item1 field= testoContenuto runat= server

    and the field "testoContenuto" is blank it take the content from the parent node that have a field with the same name and the content is not blanck.

    How can I always take the content from the node field, also when is blank, and not take the field content from the parent node?

    Thanks in advance. Dante

  • Alex Skrypnyk 6148 posts 24097 karma points MVP 8x admin c-trib
    May 08, 2017 @ 12:48
    Alex Skrypnyk
    0

    Hi Dante

    Recursive attribute set to false:

    <umbraco:Item runat="server" Field="testoContenuto" recursive="false" />
    

    Thanks,

    Alex

  • Dante 7 posts 78 karma points
    May 08, 2017 @ 13:39
    Dante
    0

    Hi Alex thank you for your support but seems not working in my case.

    It's always getting the content from the parent also using the code you suggested, very strange !!

    Dante.

  • Alex Skrypnyk 6148 posts 24097 karma points MVP 8x admin c-trib
    May 08, 2017 @ 13:40
    Alex Skrypnyk
    0

    Hi Dante,

    1) try to republish the site

    2) check please, do you have som custom code running?

    /Alex

  • Dante 7 posts 78 karma points
    May 08, 2017 @ 14:18
    Dante
    0

    Re-published and no custom code. Always the same behavior.

    Dante.

Please Sign in or register to post replies

Write your reply to:

Draft