[PHPCR-41] MappingException: Class Doctrine\ODM\PHPCR\ReferrersCollection is not a valid document or mapped super class. Created: 04/Jan/12 Updated: 08/Jan/12 Resolved: 08/Jan/12
|Reporter:||David Buchmann||Assignee:||Lukas Kahwe|
reported by nacmartin https://github.com/symfony-cmf/symfony-cmf/issues/131
Since this property was introduced
I have this error when persisting this kind of document in SAB:
MappingException: Class Doctrine\ODM\PHPCR\ReferrersCollection is not a valid document or mapped super class.
=> phpcr-odm should not try to persist a ReferrersCollection. this is just the inverse of the Reference annotation. as this is directional in phpcr, the ReferrersCollection should be immutable by the client.
|Comment by David Buchmann [ 08/Jan/12 ]|