doctrine/doctrine2 — pull request #402 by Ocramius (2012-07-19 22:03:04+00:00)
Title: DDC-1925 for 2.1.x

This patch fixes DDC-1925 and introduces a test to verify its functionality.

For the reviewer: please note that the target branch is already set to 2.1.x.