I'm not sure that I agree from the documentation that the triggers property is actually required by hook_action_info(), but since pathauto does not define it, a PHP error is triggered by the flag_actions module.

See: http://drupal.org/node/1356786

Since the flag_actions maintainer refuses to add a check, could the pathauto module please add the triggers property?

Comments

Dave Reid’s picture

Version: 7.x-1.2 » 7.x-1.x-dev
Assigned: Unassigned » Dave Reid

No, this is our fault, it looks like 'triggers' is required and Pathauto is in violation.

Dave Reid’s picture

jastraat’s picture

Thanks!

Status: Fixed » Closed (fixed)

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

claudiuv’s picture

it looks like this commit was lost in stable release of pathauto, as I've just been hit by this bug today. The dev version has 8526b19, though.

Dave Reid’s picture

Look at the date this was committed, and then look at the date of when the last release was made.