Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Payment
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Aug 2011 at 15:55 UTC
Updated:
6 Sep 2011 at 14:51 UTC
The specified callback has different arguments as required by entity_access(), see http://drupalcontrib.org/api/drupal/contributions--entity--entity.module...
I just fixed #1248912: fix rules-config access to properly check for edit access what makes Rules properly check all the access callbacks and lead to a bunch of errors, because it tries to check entity access.
Comments
Comment #1
rszrama commentedHmm, yeah, I wonder if it's worth it for us to rewrite commerce_entity_access() now or to just write a wrapper for it... will check with Damien.
Comment #2
damien tournoud commentedIt's actually an easiest fix then anticipated. We are basically linking the access control on payment transaction to the access control of the order it is attached to.
Patch in 23999ef in the sprint repository.
Comment #3
damien tournoud commentedFixed patch in 94e30b6 in the sprint repository.
Comment #4
damien tournoud commented