I have finally made the drupal upgrade to 4.6, and of course installed the CVS version of the node_privacy_by_role.module, and when I tried to get to the modules configuration, I got an SQL error:

query: INSERT INTO system (name, description, type, filename, status, throttle, bootstrap) VALUES ('node_privacy_byrole', 'Allows users to specify which roles of users can view his/her content on a node-by-node basis. Please make sure to properly enable this module by going to the module's settings page after enabling here.', 'module', 'modules/node_privacy_byrole.module', 0, 0, 0)

which is of course way to much for the description.

There are two ways to fix it:

a) shorten the description
b) make the description field in the system table a field of the type text.

I suggest the first approach.

But maybe this problem is 'fixed' in the mysql database.

Comments

ankur’s picture

A fix has been commited to CVS HEAD and also tagged as DRUPAL-4-6

To see the diff against the previous version:
http://cvs.drupal.org/viewcvs/drupal/contributions/modules/node_privacy_...

-Ankur

Anonymous’s picture