Smart Date Recurring is not working with referenced entities

Created on 7 March 2024, 3 months ago
Updated 20 April 2024, about 1 month ago

Problem/Motivation

Smart Date is not working with referenced entities.

Steps to reproduce

  • Create the Paragraph type using smart date recurring fields
  • Create the node event using a reference to that paragraph
  • Add the content

The form object retrieves the parent entity node instead of the Paragraph.

Proposed resolution

Using fieldDefinition instead of $form_state->getformObject()->getEntity()

Remaining tasks

Need reviews

๐Ÿ› Bug report
Status

Needs review

Version

4.1

Component

Code

Created by

๐Ÿ‡ป๐Ÿ‡ณVietnam linhnm

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

Comments & Activities

Production build 0.69.0 2024