ECA doesn't recognize paragraph presave

Created on 6 December 2023, 7 months ago
Updated 2 April 2024, 3 months 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 6 months ago
  • πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen

    What's the status on this?

  • Status changed to Closed: outdated 3 months ago
  • πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen
Production build 0.69.0 2024