below code in a custom module is not recomputing the computed field value.
$node = node_load($nid);
FYI I am using workbench for revisioning. will that cause any conflict?
My 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
no, 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.
Drupal is a registered trademark of Dries Buytaert.