ECA doesn't recognize paragraph presave

Created on 6 December 2023, over 1 year ago
Updated 2 April 2024, about 1 year ago

Problem/Motivation

I'm trying to set the value of a paragraph field with ECA in the presave hook without success.

Steps to reproduce

Reducing to send message when in presave of that paragraph type gives vo result, when using a node presave message shows up.
(See attached screenshots.) ECA allows to select the correct paragraph-type but doesn't react on presave.

💬 Support request
Status

Closed: outdated

Version

1.1

Component

Code

Created by

🇩🇪Germany wla_g

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

Comments & Activities

  • Issue created by @wla_g
  • 🇩🇪Germany jurgenhaas Gottmadingen

    I can't reproduce this, it's behaving as expected here. I have created a simple model which shows messages for the node and the paragraph, each after the pre-save event:

    When I create a new article with a paragraph in it, I get this:

    So, this is as expected and the pre-save event is being dispatched also for paragraphs. There must be something else in the Drupal instance that prevents this from working as you describe it.

  • Status changed to Postponed: needs info over 1 year ago
  • 🇩🇪Germany jurgenhaas Gottmadingen

    What's the status on this?

  • Status changed to Closed: outdated about 1 year ago
  • 🇩🇪Germany jurgenhaas Gottmadingen
Production build 0.71.5 2024