Active
Project:
Computed Field
Version:
7.x-1.0-beta1
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Dec 2012 at 19:12 UTC
Updated:
9 Jan 2013 at 08:05 UTC
below code in a custom module is not recomputing the computed field value.
$node = node_load($nid);
node_save($node);
Comments
Comment #1
technikh commentedFYI I am using workbench for revisioning. will that cause any conflict?
Comment #2
technikh commentedMy bad. The php code I had for the field was using menu_get_active_trail() function and that was not returning expected output when run by custom script.
fixed my code by making it independent of menu_get_active_trail
Comment #3
liquidcms commentedno, this isn't fixed - this does not work and breaks numerous things (vbo for example) from being able to work on any nodes which use computed fields.