Closed (fixed)
Project:
Node access user reference
Version:
7.x-3.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 May 2011 at 12:09 UTC
Updated:
20 Aug 2012 at 02:43 UTC
After installing the module, this message appears: "The content access permissions need to be rebuilt. Rebuild permissions."
After Uninstalling the module, rebuilding goes fine (at least, no error appears :-) )
Rebuilding/flushing several times does not resolve the problem. I have no other Access modules activated.
The following PHP-error appears lots of times in the log, probably for each node: Notice: Undefined index: module in nodeaccess_userreference_node_access_records() (line 137 of nodeaccess_userreference.module).
I realize there is not much to go one, but perhaps other people have the same problem and more info?
Comments
Comment #1
danielb commentedsounds familiar #1069994: Undefined index: module in nodeaccess_userreference_node_access_records() (line 138
Comment #2
danielb commentedI've fixed that notice and made a new release. See if the rebuild message disappears after rebuild - not sure why it would remain other than the rebuild doesn't finish correctly?
Comment #3
johnvHmm, notices have disappeared indeed with latest dev, but the rebuild still results in "The content access permissions need to be rebuilt."
Strange.
Comment #4
johnvThe variable node_access_needs_rebuild determines if a rebuild is necessary.
I removed (=reset) the variable via devel/variable or via 'node_access_needs_rebuild(0);' in devel/php.
Then I rebuild the access via admin/reports/status/rebuild.
Now situation is OK again. Let's hope for the best.
Comment #6
jdieter commentedI get this message . it wont go away. see no errors. rebuilding permissions does nothing.
Comment #7
danielb commentedThis is a very old issue which was resolved. It is likely you are experiencing an unrelated problem, you did not participate in this issue earlier, and you have given no evidence to link your problem to this issue. You haven't even used complete sentences.