Hey thanks for getting that patch in and rolling a new release. Great features to have!
We saw this when running ye olde drush updb after updating the module.
Error: Call to undefined method Drupal\Core\DependencyInjection\ClassResolver::update() in workbench_email_post_update_move_to_recipient_plugins() (line 15 of /mnt/www/html/healthcareverticalavlafqu3fw/docroot/profiles/df/modules/contrib/workbench_email/workbench_email.post_update.php).
We actually jumped from alpha7 to rc2 (my bad) - once I saw the patch was committed, I went ahead and finally got us updated to the latest version. You can see what we did here. Basically, this may be an edge case with users updating from a quite-old version. https://github.com/acquia/df/commit/c2fbb84087401a517242ef6ecd212413d496...
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | 3004148-11.patch | 11.08 KB | larowlan |
| #12 | 3004148-11-interdiff.txt | 766 bytes | larowlan |
| #10 | 3004148-10.patch | 10.97 KB | larowlan |
| #10 | 3004148-10-interdiff.txt | 5.09 KB | larowlan |
| #9 | 3004148-9-interdiff.txt | 711 bytes | larowlan |
Comments
Comment #2
larowlanThat would indicate you're missing http://cgit.drupalcode.org/drupal/tree/core/lib/Drupal/Core/Config/Entit... which was only added in 8.6.x - are you on 8.5?
Comment #3
jbunyan commentedI am having the problem as well. I am on Drupal 8.5.7 and I am updating from alpha7 to rc2. Can we run this post_update hook on 8.5.7? Let me know if you need some more informatino.
Comment #4
larowlanWe'd need to mimic what the ConfigUpdater does for those on 8.5
Patches accepted, will try to get to it later in the week.
Comment #5
hpcalaf commentedSame issue for a 8.56 site . . . moving from alpha6
Comment #6
saltednutJust to confirm this was with 8.5.7 - core provided by lightning distro in our case: https://github.com/acquia/lightning-core/blob/4202565cfe9ee8efdb545a3c0c...
Comment #7
larowlanThanks, working on a patch
Comment #8
larowlanThis should work on both 8.5 and 8.6
Comment #9
larowlanComment #10
larowlanComment #12
larowlanThat was fun
Comment #14
larowlancutting an rc3