populate_operations() hashes over the function (callback) name, so if a function is re-used for several operations --as is the case with Drupal's built-in operations (they all use node_mass_update())-- then all except the last operation will vanish.

Misc:

- I'm using Drupal-dev, which displays PHP warnings when the code isn't E_ALL compliant, and when using this module I see warnings. Expressions such as `$operation['callback arguments']` probably need to be written `isset($operation['callback arguments']) ? $operation['callback arguments'] : NULL;

- 'private' methods aren't supported, and are probably syntax errors, in PHP 4.

Comments

infojunkie’s picture

Assigned: Unassigned » infojunkie

Thanks for the report!

infojunkie’s picture

Status: Active » Fixed

Fixed. The md5 is now taken on the action label, not its callback.

As to the other comments:
* I'll check the PHP warnings separately.
* I thought Drupal 6 was targeting PHP 5 only, so I didn't even worry about PHP 4.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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