Extrafields not being rendered

Created on 7 March 2024, about 1 year ago

Problem/Motivation

Based on the logic in the computePropValues method the extrafields are always skipped, one of the conditions is $entity->hasField($field_name) which assumes all the fields come from the entity.

Steps to reproduce

  • Render a view mode as a SDC.
  • Add an extrafield as part of the prop values
  • Set a fixed value for the property that expects an extrafield value.
  • The fixed value will always be used for that property.

Proposed resolution

Improve the conditions to allow extrafields to work.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇨🇴Colombia jidrone

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024