Summary
Upgrading from Webform 6.2.x to 6.3.x removes the webform_shortcuts submodule. Sites that previously had it end up with stale configuration (core.extension and related config), which causes errors during database updates and configuration import.
Steps to reproduce
Site on Webform 6.2.x with webform_shortcuts previously present.
Run composer require drupal/webform:^6.3@beta.
Run database updates (drush updb) and configuration import (drush cim).
Observed behavior
updb reports that webform_shortcuts is marked as installed in core.extension but the code is missing.
cim fails with: “webform_shortcuts cannot be installed because it is not present.”
Expected behavior
A clean upgrade path without manual intervention, or explicit guidance that removes/cleans up leftover webform_shortcuts configuration during the upgrade.
Request
Please provide a pre-/post-update hook or upgrade instructions that automatically remove stale webform_shortcuts config (e.g., from core.extension and its settings) to prevent cim failures.
Note
A Bootstrap 3 deprecation notice also appears during the upgrade, but that seems unrelated to this specific issue.
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | Screenshot 2025-09-07 at 8.46.01 AM.png | 97.81 KB | jrockowitz |
| #7 | {1500F66D-4D30-49AD-8CAD-3645AD5088AB}.png | 123.7 KB | macdev_drupal |
| #3 | Screenshot 2025-09-02 at 1.03.41 PM.png | 106.88 KB | jrockowitz |
Issue fork webform-3544435
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
jrockowitz commentedI think the best we can do is to add an additional warning when updating Drupal that recommends the developer download the Webform Deprecated project.
Comment #5
jrockowitz commentedComment #6
cilefen commentedThis is the third instance of the same issue reported.
Was this module never actually marked as deprecated in 6.2? It seems not. In truth, only a major release should include backward compatibility breaks. In this case, at a minimum these modules should be marked as deprecated in a 6.2 release. Isn't it too late to put this code in 6.3.x?
Comment #7
macdev_drupal commentedThanks that helps!
Maybe note the requirement on the webform module page, too?
That was the place I was looking for infos when I ran into the error:
What about the Webform Bootstrap Module?
Should it be mooved to https://www.drupal.org/project/webform_deprecated as well?
I later ran into similiar issues and did a
drush pmu webform_bootstrapto get the config imported.Comment #8
macdev_drupal commentedIs it correct that webform_deprecated does not yet appear in packages.drupal.org?
I had to add the git repo to our composer.json before I could do a composer require drupal/webform_deprecated:6.3.x-dev@dev -W
{"type": "composer",
"url": "https://packages.drupal.org/8"
},
{"type": "vcs", "url": "https://git.drupalcode.org/project/webform_deprecated.git"}
Comment #9
jrockowitz commentedI tagged a release so that the webform_deprecated package will appear via composer.
https://www.drupal.org/project/webform_deprecated/releases/6.3.0-beta4
Comment #10
jrockowitz commentedI updated the project page
Comment #11
jrockowitz commentedI tweaked the requirements to display missing deprecated module via update (drush updb and update.php) and runtime (Status report) requirements.
Moving this to RTBC.
Comment #13
jrockowitz commented