Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Commerce
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Jul 2011 at 16:39 UTC
Updated:
18 Aug 2011 at 16:31 UTC
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
Comment #1
rszrama commentedIf 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.
Comment #2
aristeides commentedtrue, 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!