views_atom_rules_action_add_nids_to_feed() passes a list of nids to a View as arguments. That View should be using the row plugin supplied by this module, views_plugin_row_rdf_node. The render() method of this class calls node_load().
If the node being load has also been updated in this page request it is possible that node_load() will used a cached version of the node that was generated before the node was saved.
I ran into this problem when frequently updating the same list of nodes. This list of nodes was then passed through views_atom_rules_action_add_nids_to_feed() to syndicate the nodes out to another site. The site receiving the syndication was always a revision behind.
To alleviate this problem I will clear the node_load() cache from within views_atom_rules_action_nids_to_feed() as well as in views_atom_rules_action_add_to_feed() which should be susceptible to the same problem. I think it would be overkill to always reset the node_load() cache from with in the Views plugin.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1145956_clear_node_load_cache_1_D6.patch | 1.55 KB | stevector |
Comments
Comment #1
stevectorHere's the patch.
Comment #2
stevectorhttp://drupal.org/commitlog/commit/15902/025ee073a26dfc4b07325210c8f239f...