- Issue created by @goose2000
- πΊπΈUnited States alison
I get this same problem, I have the same versions of everything as you've specified in the issue summary.
Workaround: I was able to enable it via drush, i.e.
drush en commerce_webform_order
(After running that, commerce_webform_order and commerce_purchasable_entity were enabled.)
I know that's not an option for all environments, but, sharing in case it helps. If drush isn't an option, I wonder if you could manually update core.extension.yml and enable the module via config import?
Caveat: I've only just enabled it, I haven't tried using it yet, not sure if I'll run into issues -- I'll report back if I have anything to report!
P.S. I tried enabling commerce_webform_order_demo via drush, no luck with that one -- got this:
$ drush en commerce_webform_order_demo In UnmetDependenciesException.php line 100: Configuration objects provided by <em class="placeholder">commerce_webform_order_demo</em> have unmet dependenci es: <em class="placeholder">webform.webform.cwo_demo_subscription (webform_entity_handler)</em>
P.P.S. Adding more specifics to issue title.
- πΊπΈUnited States alison
So far, I'm able to use the module fine (knock on wood).
Later, when I updated an unrelated module, I did get an error when I ran database updates via drush -- but it didn't block me from running database updates:
drush updb [error] Commerce Webform Order requires this module and version. Currently using Webform version (Currently using Unresolved dependency Webform (Version >= 6.1 required) ) Requirements check reports errors. Do you wish to continue? (yes/no) [yes]: > yes
(and then I carried on)
P.S. Slightly shortening the title edits I made in my last update.
- πΊπΈUnited States goose2000
I am having this issue too, just letting know it is reproducible, enable info :
Machine name: commerce_webform_order
Version: 3.0.0-beta10
Requires: CommerceAddressFieldEntityInline Entity FormTokenDatetimeViewsFilterUserSystemCommerce CartCommerce OrderCommerce PriceCommerce StoreOptionsTextPathPath aliasCommerce Number PatternEntity Reference RevisionsProfileState MachineCommerce ProductCommerce CheckoutWebform (>= 6.1) (incompatible with version * ? *)
Required by: Commerce Webform Order Demo (disabled)Drupal 10.3.5
Webform 6.2.7 Stable release - πΊπΈUnited States goose2000
Any idea about these install requirements ? Is there any safe work around we could do to the info .yml ?
commerce_webform_order.info.ymlname: Commerce Webform Order description: This module integrates webform with commerce modules. package: Commerce (contrib) core_version_requirement: ^9.4 || ^10 type: module dependencies: - commerce:commerce (>= 2.19) - commerce:commerce_cart - commerce:commerce_checkout - commerce:commerce_order - commerce:commerce_price - commerce:commerce_store - webform:webform (>= 6.1) simplytest_dependencies: - commerce_webform_order:commerce_webform_order_demo # Information added by Drupal.org packaging script on 2023-12-05 version: '3.0.0-beta10' project: 'commerce_webform_order' datestamp: 1701773645
- πΊπΈUnited States alison
@goose2000 So sorry, I definitely thought I posted this -- I commented out the webform module dependency in the info yml file, and that hacky workaround has been working for me. Literally, I comment out this line:
- webform:webform (>= 6.1)
So, the dependencies section of
commerce_webform_order.info.yml
on my project looks like this:dependencies: - commerce:commerce (>= 2.19) - commerce:commerce_cart - commerce:commerce_checkout - commerce:commerce_order - commerce:commerce_price - commerce:commerce_store # - webform:webform (>= 6.1)
- First commit to issue fork.
- Merge request !13Issue #3471032: Webform version incompatibility message blocks enabling module via Extend β (Merged) created by facine
-
facine β
committed 2ebe4ca6 on 3.x
Issue #3471032: Webform version incompatibility message blocks enabling...
-
facine β
committed 2ebe4ca6 on 3.x
- πͺπΈSpain facine
Fixed, thank you!
Please download and review the latest dev release.
- πΊπΈUnited States alison
Thanks! When I updated to 3.0.0, and when I ran
updb
, I still got this error:[error] Commerce Webform Order requires this module and version. Currently using Webform version (Currently using Unresolved dependency Webform (Version >= 6.1 required) )
But then the DB update did seem to run successfully Β―\_(γ)_/Β―
I tried enabling a random other module, and uninstalling that random other module, and I didn't get any errors, soooo maybe it's fine?? I don't know why it still complained about the webform version, but I can live with it, if it's ok now. And I know how to band-aid it if it gives me trouble down the road.
- πΊπΈUnited States alison
Hmmm actually, I still can't enable commerce_webform_order or commerce_webform_order_demo via Extend (in Drupal admin UI) -- it says this (same as in the issue summary):
Machine name: commerce_webform_order
Version: 3.0.0
Requires:CommerceAddressFieldEntityInline Entity FormTokenDatetimeViewsFilterUserSystemCommerce CartCommerce OrderCommerce PriceCommerce StoreOptionsTextPathPath aliasCommerce Number PatternEntity Reference RevisionsProfileState MachineCommerce ProductCommerce CheckoutWebform (>= 6.1) (incompatible with version * ? *)
Required by:
Commerce Webform Order Demo (disabled)
Attached is a screenshot of what I see on "Extend," after updating to commerce_webform_order 3.0.0 (which includes the commit 2ebe4ca6).
("incompatible with" is in red, and the checkbox next to both "commerce webform order" modules is disabled)
(but, I can enable these two modules via Drush)
- πΊπΈUnited States alison
Changing status back to "Needs work" (sorry for the issue notification clutter!)
- Status changed to Needs work
9 days ago 5:09pm 15 November 2024 - πΊπΈUnited States goose2000
About commerce_webform_order_demo - I found I needed to install webform_entity_handler (dependency) first. Then I could enable it on the Extend page fine.