The D7 site i'm working has a feature that includes two custom product types, amongst other things. A custom feature gets auto-detected and added as a dependency because it contains a rule on one of the product types. Another feature added to the site install profile contains the permissions to those types.
After i exported the features and tried to install the site again, it breaks because:
- the product types are do not get created, i expect this log entry to show but does not:
WD features: Rebuilding feature_name / commerce_product_type
Which, i'm guessing, is when the types get created from the feature. That log entry shows on a successful build (see below).
- consequently, the permissions feature causes a fatal error when trying to insert the types permissions into the db, since they don't exist and not defined by a module (from commerce_entity_access_permissions).
The solution for the fix is to manually remove the auto-detected feature with the rules.
I assumed that there's something wrong with that feature but can't think of what. Has anyone experienced something like that?