Normalizer can't detect a field type extending entity reference

Created on 9 April 2024, 12 months ago

Problem/Motivation

  • A custom field type, extending entity reference is not correctly detected in RdfSyncNormalizer because the is_a() check parameters are inverted.
  • For such a custom field, which might have other custom columns (e.g., a description additional column), we have to strengthen the check to make sure it only applies to the `target_id` column

Proposed resolution

  • Fix the is_a() check
  • Check also for $columnName === 'target_id'

Remaining tasks

None.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

🇷🇴Romania claudiu.cristea Arad 🇷🇴

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