When I enable Consumer UI it drops a strange error related to something api.
After installing Entity API, Consumer UI enables without error.
Entity API however not listed on the required modules list of Consumer UI

Comments

rszrama’s picture

Title: Consumer UI needs Entity API » Add an entity dependency to every module using entity_metadata_wrapper()
Version: 7.x-1.0-beta4 » 7.x-1.x-dev
Component: Customer » Developer experience
Status: Needs work » Active
Issue tags: -entity API

We started using the wrapper long after our last .info files were written, and apparently I never updated them once we started actively using entity_metadata_wrapper() in our modules. I don't think there's any other function to check for, but this will affect more than just the Customer UI module. That said, Commerce does depend on Entity API, and everything should ultimately depend on Commerce... so I'm not sure how you really ended up with improper modules installed unless it was a fluke of the installation process.

rszrama’s picture

At the same time, add a dependency on Rules for every module using one of the rules_invoke_*() functions.

rszrama’s picture

recidive’s picture

Is it really necessary for commerce_cart to have entity and rules explicitly in the list of dependencies since it depends on commerce_order?

rszrama’s picture

Perhaps not, but it can't hurt. Cart module itself makes use of functions in those modules, and I think it's better to be explicit with dependencies than to trust in the chain.

Status: Fixed » Closed (fixed)

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