Extrafields not being rendered

Created on 7 March 2024, 3 months ago
Updated 20 March 2024, 3 months 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

Needs work

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.69.0 2024