Closed (fixed)
Project:
Custom Field
Version:
4.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Feb 2025 at 21:40 UTC
Updated:
11 Mar 2026 at 20:59 UTC
Jump to comment: Most recent
Stemming from https://www.drupal.org/project/custom_field/issues/3500781, deep nested field tokens on referenced entities are not getting replaced. As we've fixed the fatal error returned in that ticket, I'm creating this new ticket to track the remaining issue.
It was discovered using the advanced custom template view display while using these tokens on entity reference fields. It was originally producing an error but now, some of the fields just arent replaced.
Refactor some of the logic in custom_field.tokens.inc
Comments
Comment #2
apmsooner commentedPushing to 4.x branch to account for field settings refactor.
Comment #3
apmsooner commentedFixed in https://www.drupal.org/project/custom_field/issues/3578413 and validated with test coverage: https://git.drupalcode.org/project/custom_field/-/blob/4.0.x/tests/src/F...
Comment #5
apmsooner commented