User: fago Branch: DRUPAL-7--2 Date: Fri, 11 Feb 2011 14:52:23 +0000 Modified files: /modules/rules/includes rules.core.inc rules.state.inc /modules/rules/modules data.eval.inc data.rules.inc rules_core.eval.inc /modules/rules rules.api.php rules.module /modules/rules/tests rules.test /modules/rules/ui ui.core.inc Log message: #1057484 patch by me and klausi towards making components in code more useful: * Allow the definition of variables that do not require a passed argument, as useful for returning variables that are not passed as parameter. * Improved the data_set action to be able to set variables too. * Fix handling of NULL values so Rules bails out if NULL values are passed as argument to an action. Including test coverage. * Introduced the optional 'allow null' key for parameters, so actions can go with NULL values. Made use of that for the data_set action. * Added tests for having components providing new variables. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/rules/includes/rul... http://cvs.drupal.org/diff.php?path=contributions/modules/rules/includes/rul... http://cvs.drupal.org/diff.php?path=contributions/modules/rules/modules/data... http://cvs.drupal.org/diff.php?path=contributions/modules/rules/modules/data... http://cvs.drupal.org/diff.php?path=contributions/modules/rules/modules/rule... http://cvs.drupal.org/diff.php?path=contributions/modules/rules/rules.api.ph... http://cvs.drupal.org/diff.php?path=contributions/modules/rules/rules.module... http://cvs.drupal.org/diff.php?path=contributions/modules/rules/tests/rules.... http://cvs.drupal.org/diff.php?path=contributions/modules/rules/ui/ui.core.i...