Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Developer experience
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jun 2011 at 17:25 UTC
Updated:
26 Jul 2011 at 02:51 UTC
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
Comment #1
rszrama commentedWe 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.
Comment #2
rszrama commentedAt the same time, add a dependency on Rules for every module using one of the rules_invoke_*() functions.
Comment #3
rszrama commentedCommitted: http://drupalcode.org/project/commerce.git/commitdiff/21eb212
Comment #4
recidive commentedIs it really necessary for commerce_cart to have entity and rules explicitly in the list of dependencies since it depends on commerce_order?
Comment #5
rszrama commentedPerhaps 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.