Views field doesn't work for paragraphs.

Created on 7 June 2024, 10 months ago

Problem/Motivation

I posted this more generic issue that impacts many entities: 🐛 Missing global entity support for Views. Needs review , but this may be more specific to paragraphs (possibly not??).

The views field widget doesn't render when added to a paragraph due to this:

if (isset($field_name['entity_type']) && $field_name['plugin_id'] != 'rate_widget_field') {

in RateWidgetField::buildOptionsForm() since entity_type is null for a paragraph id field. Perhaps this check simply isnt required? I can see that entity_field is set to 'id', maybe a better test? Its also possible this is a bug in the Paragraph module in that it may be required to explicitly set this for its entity id field?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.1

Component

Code

Created by

🇨🇦Canada liquidcms

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

Comments & Activities

Production build 0.71.5 2024