I'm trying to use Drupal Commerce with the http://drupal.org/project/commerce_subscription module and http://drupal.org/project/commerce_paypal to assign user roles to clients.

After completing a transaction and checking out a "subscription product", I received this message on the admin/people page:
Notice: Undefined index: permission labels in commerce_entity_access_permissions() (line 748 of commerce.module).
and the user was not assigned the role he was supposed to, as per the "commerce_subscription" module.
this could be an issue with one of the other modules but most possibly it's with commerce.

Comments

rszrama’s picture

If you clear the cache, does it go away? The permission labels key was added in fairly recently, but it should be present in the entity info of any entity type using the core entity helper functions.

aristeides’s picture

Status: Active » Fixed

true, errors disapeared.
It's not functional yet though, but that's not this module's fault.
Something is broken on the commerce_subscription module.
Going there to debug...

Marking this issue as fixed, thanks for your help!

Status: Fixed » Closed (fixed)

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