below code in a custom module is not recomputing the computed field value.

<?php
$node
= node_load($nid);
node_save($node);
?>

Comments

FYI I am using workbench for revisioning. will that cause any conflict?

Status:Active» Fixed

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

Version:7.x-1.x-dev» 7.x-1.0-beta1
Priority:Normal» Major
Status:Fixed» Active

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.