Commit 1cfbd859 authored by TravisCarden's avatar TravisCarden Committed by TravisCarden

Issue #3042638 by TravisCarden: Update 8101 causes unrecoverable error, blocks database updates

parent 8c2928a8
......@@ -26,6 +26,10 @@ function checklistapiexample_update_8101() {
$saved_progress = $old_config_storage->setChecklistId($checklist_id)
if (!$saved_progress) {
// Copy saved progress to new state storage.
/** @var \Drupal\checklistapi\Storage\StateStorage $new_state_storage */
$new_state_storage = \Drupal::service('checklistapi_storage.state');
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment