cakephp/cakephp — pull request #4420 by markstory (2014-08-28 11:09:25+00:00)
Title: Fix broken behavior configuration

Because of how configuration is merged, and that the aliases are keys not values, it was effectively impossible to remap behaviour methods that were defined in `_defaultConfig`. I have fixed the code to behave as intended. It requires a few extra calls to config only in the case where methods are remapped, which I think is acceptable. If others don't agree, I think we will need to change the interface.

Refs #4414