Closed (fixed)
Project:
node privacy byrole
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
28 Apr 2005 at 07:23 UTC
Updated:
18 May 2005 at 20:59 UTC
If you use node privacy byrole module + flexinode module, and you change the default permisions of a flexinode, it tries to insert the following line (and some similar) to the variable table:
INSERT INTO variable (name, value) VALUES ('node_privacy_byrole_forview_flexinode-6_default_2', 's:1:\"1\";')
INSERT INTO variable (name, value) VALUES ('node_privacy_byrole_foredit_flexinode-6_default_2', 's:1:\"0\";')
The length of the name is more than 48 character, and the length of the name field is 48 character, it chopped, and of course dosen't work.
Comments
Comment #1
ankur commentedWill look into this matter, as it is important for this module to work with flexinode...
-Ankur
Comment #2
freyquency commentedI'm experiencing this as well.
Comment #3
ankur commentedA fix was committed to HEAD, and tagged as DRUPAL-4-6.
To make use of the fix, you will need to run a database upgrade script available in the CVS directory in addition to copying the latest 4.6 version of the module. Instructions for running the upgrade script are also available in the repository:
http://cvs.drupal.org/viewcvs/drupal/contributions/modules/node_privacy_...
For a diff of changes to the "node_privacy_byrole.module" file, please see
http://cvs.drupal.org/viewcvs/drupal/contributions/modules/node_privacy_...
-Ankur
Comment #4
(not verified) commented