cakephp/cakephp — pull request #4813 by markstory (2014-10-04 18:40:41+00:00)
Title: Fix missing validation errors on associated ID property.

When reading errors off an association and the last property is null/undefined the entity containing the missing property should be used.

Fixes #4792