Problem/Motivation

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

SocialNicheGuru created an issue. See original summary.

Rohan_Singh made their first commit to this issue’s fork.

rohan_singh’s picture

@akalam and @tonibarbera, I have raised a PR for the ECA 2.x support. Kindly review and merge this.

rohan_singh’s picture

Status: Active » Needs review
monkk’s picture

This will allow to install module, but I don't think it will go further than that.
At least I get below error:
ECA ran into error from third party in the context of "Collecting all available actions": Cannot override final method Drupal\eca\Plugin\Action\ActionBase::__construct() Line 35 of /Applications/MAMP/htdocs/test/web/modules/message_notify_eca/src/Plugin/Action/MessageNotify.php

Seems __construct() needs to be rewritten, but haven't solved it yet.

socialnicheguru’s picture

Status: Needs review » Needs work

tonibarbera made their first commit to this issue’s fork.

  • tonibarbera committed 84614d4f on 1.0.x
    Issue #3459764: Update message_notify_eca to use eca 2.x
    
tonibarbera’s picture

I've updated the constructor. It should work now with Drupal 10.3

tonibarbera’s picture

Status: Needs work » Needs review

  • tonibarbera committed 08ceaeb0 on 1.0.x
    Issue #3459764: Update message_notify_eca to use eca 2.x
    

  • akalam committed c9bd5220 on 1.0.x
    Issue #3459764: Update message_notify_eca to use eca 2.x
    
akalam’s picture

Status: Needs review » Fixed
akalam’s picture

@monkk the constructor is declared as final on ActionBase on ECA v2, so it can't be overridden. We have removed that override and used an alternative method for dependency injection.
This should be fine in beta5.
Thanks for reporting

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.