Fixes:
- Make sure $node->vid is cleared at template load time
- Return clones of cached template
- PHP_save_code now receives saved node, not cached template. This allows code to modify node for real :)

Improvement:
- Show dump of node on node_template edit page.
- Show dump of node after it has been loaded (and thus modified by php_load code) on node_template edit page.

TODO:
- Show 3rd dump of node after php_save code modifies it? That could be helpful when editing php_save code, but it wouldn't be perfect because node wouldn't get modifications from all other modules using Drupal API to modify nodes.

CommentFileSizeAuthor
node_template.patch.txt4.65 KBahwayakchih

Comments

summit’s picture

Hi,
Has Leech all the functionaliity of aggregator 2 with this bug fixes and improvements?
greetings,
Martijn

alex_b’s picture

Very global question - install and find out :) I would appreciate a good written up comparison between the two modules...

aron novak’s picture

Status: Reviewed & tested by the community » Fixed

Thanks ahwayakchih for the patch! It is committed into 4-7 and 5 branches.

aron novak’s picture

Status: Fixed » Closed (fixed)