mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-268: ClassMetadataInfo called non-existent exception method. Also: DoctrineException removed from ORM\Mapping #332
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Jan 23, 2010).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user shurakai:
I've fixed a bug where the ClassMetadataInfo tried to call MappingException::duplicateFieldMapping() which was non-existent.
Also, I've removed DoctrineException from all ORM\Mapping classes and also adjusted the tests.
Additionally, I've renamed MappingException::classIsNotAValidEntityOrMapperSuperClass() to MappingException::classIsNotAValidEntityOrMappedSuperClass() (I think that the *r* in Mapper was a typo and should be a d).
Please review the attached patch.
@doctrinebot commented on GitHub (Feb 2, 2010):
Comment created by @beberlei:
Fixed in trunk, added another missing exception method also (duplicateAssociationMapping)
@doctrinebot commented on GitHub (Feb 2, 2010):
Issue was closed with resolution "Fixed"
@doctrinebot commented on GitHub (Dec 13, 2015):
Imported 1 attachments from Jira into https://gist.github.com/0dc73dcd1e42bce17ac2