Here's the PHP error in /var/log/httpd/error.log after attempting to upgrade both module_grants and revisioning to the latest version at the same time:

PHP Fatal error: Call to undefined function node_tools_content_is_moderated() in /var/www/html/sites/all/modules/revisioning/revisioning.module on line 360

I believe the cause of this is that between 2.x and 3.x major portions of the code were moved from the "Module Grants" module to the "Node Tools" submodule.

When upgrading, the Module Grants module will no longer work, since the Node Tools module is not enabled yet!

Please update the documentation to make sure you first disable the Module Grants and depending modules (e.g., revisioning) before attempting at upgrading. Also, I'd strongly encourage to disable the module grants module when upgrading, and issue a warning message inviting to re-enable module_grants after having enabled node_tools.

If you run into problems, manually enable the 'node tools' module by entering the following SQL command (assuming MySQL here):

UPDATE system SET status=1 WHERE name="node tools" AND type="module";

Best regards,

Olivier

Comments

RdeBoer’s picture

Priority: Critical » Normal

Thanks for your report and the workaround Olivier.
It's annoying that Drupal doesn't detect the dependency of Module Grants on Node Tools.
I guess with your workaround and considering this is a one-off, this is no longer critical.

RdeBoer’s picture

Status: Active » Closed (cannot reproduce)

This issue refers to very old versions of Module Grants and Revisioning that are no longer supported.
Closing.