- π¬π§United Kingdom Rob230
Not fixed in Drush - as of Drush 12.4 it is still a problem.
For us it caused major data loss because event subscribers are not able to save the entity being acted on, so we have to do it in the destruct call, which doesn't fire from CLI.
Now that I know that's happening, my workaround is to load the
EventSubscriber
myself (via\Drupal::service()
) and then manually call the->destruct()
method on it. - π©πͺGermany cspitzlay π©πͺπͺπΊ
Well, at least it used to be fixed. I had successfully tested this 6 years ago.
See https://github.com/drush-ops/drush/issues/3672#issuecomment-420950688Could be a new issue. You may want to report it against drush along with your steps to reproduce it.