Rules Mastery 13 -- Debugging points for liking
Channel: Johan Falk
Date: 2012-03-05

This screencast shows an example of how to debug Rules configuration. In this case, I had some problems awarding Drupal points to the user *liking* a piece of content. Some tips when Rules doesn't work they way you expect:

* Don't say "Rules has a bug"  before you have isolated the problem to Rules. (Not that I've done this myself a few times...)
* Turn on the Rules debug information, found at the setings tab on the Rules page, then look for red text.
* Look at 'recent log messages' in the reports section on your site.
* Use the 'debug value' action (provided by Devel), to investigate the data Rules works with.
* If the problem might be caused by entities not being saved, try adding the 'save an entity' action.

(This video is a part of the training found at http://denver2012.drupal.org/content/rules-mastery.)