- Issue created by @joachim
- Assigned to Tyapchyc
- Merge request !140Issue #3533737 : EntityReference processor uses wrong field name to write data to entity β (Open) created by Tyapchyc
The EntityReference processor writes the value for a reference field based on the entities it has imported:
$processed_entity->set($field_public_name, $field_values);
However, $field_public_name is the name for the field in the JSONAPI data:
foreach ($entity_json_data['relationships'] as $field_public_name => $field_data) {
This should use $field_internal_name name instead.
It's working ok because in most cases, the field name is the same.
Active
4.0
Entity Share Client