- Issue created by @2dareis2do
- πΊπΈUnited States tr Cascadia
I'm guessing that you're using Drush 13? I think Drush 13 now *requires* autowiring of services. But the 4.0.0 version of RulesDrushCommands wasn't using autowiring.
Regardless of the error shown when using -vvv, the commands still work as far as I can tell. And there is no error at all when using Drush 12.5.
Note that I added autowiring of services a few weeks ago, in π Implement autowiring on Drush commands Fixed , so this issue doesn't happen anymore in Rules 4.0.x-dev. Thus, there's nothing for me to fix here, because 4.0.0 can't be modified - it is what it is.
I plan to make a 4.0.1 release within the next few weeks, after I make a new release of typed_data.
- π¬π§United Kingdom 2dareis2do
I am using drush 12 as supported and recommended here:
https://www.drush.org/13.x/install/#drupal-compatibilityDrush Commandline Tool 12.5.3.0
- π¬π§United Kingdom 2dareis2do
From what I can tell, rules are not triggered if using drush to import content etc.
- πΊπΈUnited States tr Cascadia
I don't know what that means, but it sounds like a different issue.
- π¬π§United Kingdom 2dareis2do
You are right. Rules are still triggered!
In my case I had to pass the url flag when running drush to trigger the rule.
Thanks.
Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
22 days ago 2:33pm 17 April 2025 - heddn Nicaragua
Any chance of a new 4.0.1 release to fix this issue with a "stable" version?