i have a bunch of nodes with out the body content.
so i ran a script that would perform a query like
Ex: For node 266690
INSERT INTO field_data_body (
entity_type, bundle, deleted, entity_id, revision_id, language, delta, body_value, body_summary, body_format )
VALUES
('node','my_content_type',0,266690,266690,'und',0,'some html here ',NULL,'raw');
the update was successful,.
but when i edit the node @ mysite/node/266690/edit,
the edit page is not populated with the inserted html
is there something to be done @ node_revision table
yeah,. a better way of doing this would be to do a node_load(),update the body field, and node_save()
however i was wondering why the new value of body_value is not showing up on the node edit page
Comments
bump
bump