Bug #23029 Bug Fixed

Grid/Relationship - Single Entry Relationship Tag Breaks Relationship Parser

Version: 3.5.4 Reporter: MajesticIX

This is an archived bug report. If you are experiencing a similar issue, upgrade to the latest release and if that does not solve the problem, submit a new bug report

I haven’t tested this on a relationship only field, but a relationship inside a grid field only works if I use the field pair as follows:

WORKS:

{grid} {grid:relation} {grid:relation:title} {/grid:relation} {/grid}

If I attempt to access the title on a single-only entry relationship field like this, it no longer works:

DOES NOT WORK:

{grid:relation:title}

If I attempt to do a combination of the two (for example a conditional checking if anything is in the relationship field)–it breaks:

DOES NOT WORK:

{grid:relation:count}

{grid} {grid:relation} {grid:relation:title} {/grid:relation} {/grid}

WORKS IF I REMOVE THE SINGLE TAG (any single tag breaks the parse):

{grid} {grid:relation} {grid:relation:title} {/grid:relation} {/grid}

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases