ListFieldEnhancer do not work

Created on 19 March 2025, 18 days ago

Problem/Motivation

Using the ListFieldEnhancer for a list field (text) does not work.

Error message:
TypeError: Adaptor Drupal\jsonapi_extras\Plugin\ResourceFieldEnhancerBase returned invalid output data: [] in Drupal\jsonapi_extras\Plugin\ResourceFieldEnhancerBase->undoTransform() (Zeile 66 in /var/www/html/vendor/e0ipso/shaper/src/DataAdaptor/DataAdaptorTransformerTrait.php).

I tried to debug it but I don't understand what is wrong with $data value (see screenshot).

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.26

Component

Code

Created by

🇩🇪Germany rauch

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

Comments & Activities

Production build 0.71.5 2024