Closed (fixed)
Project:
Message Notify ECA
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Jul 2024 at 13:19 UTC
Updated:
16 Aug 2024 at 17:59 UTC
Jump to comment: Most recent
Comments
Comment #4
rohan_singh commented@akalam and @tonibarbera, I have raised a PR for the ECA 2.x support. Kindly review and merge this.
Comment #5
rohan_singh commentedComment #6
monkk commentedThis 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.
Comment #7
socialnicheguru commentedComment #13
tonibarbera commentedI've updated the constructor. It should work now with Drupal 10.3
Comment #14
tonibarbera commentedComment #17
akalam commentedComment #18
akalam commented@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