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...

Comments

brantwynn created an issue. See original summary.

larowlan’s picture

Status: Active » Postponed (maintainer needs more info)

That 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?

jbunyan’s picture

I 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.

larowlan’s picture

Title: Error during update hook 8001 » Error during update hook 8001 on Drupal 8.5
Status: Postponed (maintainer needs more info) » Active

We'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.

hpcalaf’s picture

Same issue for a 8.56 site . . . moving from alpha6

saltednut’s picture

Just to confirm this was with 8.5.7 - core provided by lightning distro in our case: https://github.com/acquia/lightning-core/blob/4202565cfe9ee8efdb545a3c0c...

larowlan’s picture

Assigned: Unassigned » larowlan

Thanks, working on a patch

larowlan’s picture

Status: Active » Needs review
StatusFileSize
new5.77 KB

This should work on both 8.5 and 8.6

larowlan’s picture

StatusFileSize
new5.87 KB
new711 bytes
larowlan’s picture

StatusFileSize
new5.09 KB
new10.97 KB

Status: Needs review » Needs work

The last submitted patch, 10: 3004148-10.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

larowlan’s picture

Status: Needs work » Needs review
StatusFileSize
new766 bytes
new11.08 KB

That was fun

  • larowlan committed bbf9266 on 8.x-1.x
    Issue #3004148 by larowlan: Error during update hook 8001 on Drupal 8.5
    
larowlan’s picture

Status: Needs review » Fixed

cutting an rc3

Status: Fixed » Closed (fixed)

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