Created on 29 August 2024, 3 months ago

Problem/Motivation

Installation cannot proceed. My instance is using:

Drupal 10.2.7
Commerce (2.40.0)
Webform 6.2.7 - stable release

After installing with composer, I see this issue on the module "extend" screen:

Webform (>= 6.1) (incompatible with version * ? *)
Required by: Commerce Webform Order Demo (disabled)

Steps to reproduce

Using the versions above, go through the normal install process.

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States goose2000

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

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

    name: 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.
    • facine β†’ committed 2ebe4ca6 on 3.x
      Issue #3471032: Webform version incompatibility message blocks enabling...
  • πŸ‡ͺπŸ‡Έ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
  • πŸ‡ΊπŸ‡Έ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.

Production build 0.71.5 2024