doctrine/phpcr-odm — pull request #477 by uwej711 (2014-04-22 14:15:49+00:00)
Title: getOriginalPaths is only implemented for ReferresCollection

without the correct check you get errors with new documents that have referrers as an ArrayCollection and a cascade remove.