Closed (works as designed)
Project:
Content Construction Kit (CCK)
Version:
6.x-2.8
Component:
content.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Oct 2010 at 22:51 UTC
Updated:
14 Nov 2013 at 00:02 UTC
Jump to comment: Most recent
Comments
Comment #1
xjmUpon further investigation, it appears that the hook is invoked multiple times for each field--twice for most, and dozens of times for some. In the later invocations, the node id is empty.
I confirmed that the
$nodeobject is empty incontent_access()at these points as well, although it is called only once for every two times my hook is invoked.Comment #2
xjmTurns out the actual problem was being caused by a change in the filefield module: #833054: argument 2 for filefield_view_access() revisited. All the other empty
$nodeobjects were noise from the menu system.Comment #3
xjm