Module has install configurations with dependency on commerce_order.commerce_order_item_type.default.
This configurations will error if we enable a module without the Default order item type.

I suggest to move configurations from config/install to config/optional folder. In this case configurations will install when we have all solved dependencies. If we don't have the Default order item type, then this configurations will ignore without any errors.

Comments

tibezh created an issue. See original summary.

tibezh’s picture

Status: Active » Needs review
StatusFileSize
new814 bytes

Here is a patch

yoran scholiers’s picture

Can confirm that the patch works! We had the same issue.

johnpitcairn’s picture

@Yoran Scholiers: if the config is optional, and you do not have a "default" order item type, are there any additional steps required to configure the variation form?

  • John Pitcairn committed e3f4d0c on 8.x-1.x authored by tibezh
    Issue #2937016 by tibezh: Move config/install to config/optional folder
    
johnpitcairn’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.