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

$node = node_load($nid);


TechNikh’s picture

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

TechNikh’s picture

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

liquidcms’s picture

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.