I have error with parameters given when I want to use itoggle ajax and commerce product entity :
commerce_product_access, I think this way is better to test entity access :

itoggle.pages.inc
function _itoggle_ajax_toggle_field
L94
$access = entity_access('edit', $type, $entity);
replace
$access = call_user_func($info[$type]['access callback'], 'edit', $entity);

This code fix the bug for me.

Path in next post.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

poukram’s picture

alexweber’s picture

Assigned: Unassigned » alexweber
Issue summary: View changes
Status: Active » Reviewed & tested by the community

Thanks for the contribution! Much-needed new release coming in a few hours...

  • alexweber committed d9af2b6 on 7.x-2.x authored by poukram
    Issue #2110033 by poukram: wrong parameters with product entity and ajax...