- Issue created by @dangur
- πΊπΈUnited States rymcveigh
I have been able to install this module on a vanilla Drupal 10 site and the primary automated tests for the module run on Drupal 10. Based on the output from composer you shared it looks like the version of the webform_submission_log you are using is locked to a specific version. That module is supplied by the webform module. What version of webform do you have installed? Are you using the latest version?
- πΊπΈUnited States dangur
Chalk another one up to silly composer tricks. I noticed the same non-issue when I went to do a clean install using DrupalPod. I was using
composer require 'drupal/webform:^6.2@beta'
which was giving me webform(_submission_log) 6.2.0-beta5, but for some reason composer thought I had webform_submission_log[5.0.0, ..., 5.31.0, 6.0.0, ..., 6.1.4]. I rectified the situation by explicitly specifying the version of webform_submission_log:
composer require 'drupal/webform_submission_log:^6.2@beta' --with-all-dependencies
which allowed me to successfully get webform autosave with
poser require 'drupal/webformautosave:^2.0' --with-all-dependencies
Thanks! - Status changed to Closed: cannot reproduce
over 1 year ago 2:04pm 5 May 2023 - πΊπΈUnited States greggles Denver, Colorado, USA
Thanks for following up!
Updating the title to help people find this error / resolution.
Sounds like these are the 2 needed commands with the state of the modules.
composer require 'drupal/webform_submission_log:^6.2@beta' --with-all-dependencies
composer require 'drupal/webformautosave:^2.0' --with-all-dependencies
I guess when webform_submission_log is out of beta this will no longer be an issue.
- πΊπΈUnited States dangur
Sounds good. I believe this condition only happens when the webform module is installed first, but that is an untested hypothesis.