The cache module depends on the commerce sub modules it provides caching for.

dependencies[] = commerce_product
dependencies[] = commerce_order
dependencies[] = commerce_line_item
dependencies[] = commerce_customer

Patch on the way.

Comments

dwkitchen’s picture

StatusFileSize
new1.05 KB
dwkitchen’s picture

StatusFileSize
new523 bytes

Correct encoding of patch

dwkitchen’s picture

StatusFileSize
new523 bytes

Correct encoding of patch

smccabe’s picture

Status: Active » Reviewed & tested by the community

Tested and patch applies and works for me

smccabe’s picture

Just to add in a note, if you don't use this patch, enabling this module without the silent dependencies will cause your site to WSOD, so I'd say it either should be committed or the module needs to be changed to check for each module. I know that's a bit of an edge case as those are pretty core modules to commerce, but it can happen. It also makes simplytest.me not work with this module without specifying all the dependencies manually.

mglaman’s picture

Status: Reviewed & tested by the community » Fixed

Committed, thanks!

  • mglaman committed 535a0de on 7.x-1.x authored by dwkitchen
    Issue #2420627 by dwkitchen: Include sub-module dependancies
    

Status: Fixed » Closed (fixed)

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