U4-8874 - umbraco:Item is always recursive

Created by Jannes Meyer 19 Aug 2016, 13:34:18 Updated by Jannes Meyer 19 Aug 2016, 13:45:26

Duplicates: U4-8617

It seems like {{umbraco:Item}} always gets the field from the parent node if it is empty:

<umbraco:Item field="heading" useIfEmpty="otherHeading" runat="server" />

Unfortunately that means the useIfEmpty field is never read, because there is a value on the parent node.

Turning recursive off does not help neither:

<umbraco:Item field="heading" useIfEmpty="otherHeading" recursive="false" runat="server" />

Comments

Priority: Normal

Type: Bug

State: Duplicate

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version:

Sprint:

Story Points:

Cycle: