DDC-268: ClassMetadataInfo called non-existent exception method. Also: DoctrineException removed from ORM\Mapping #332

Closed
opened 2026-01-22 12:35:02 +01:00 by admin · 3 comments
Owner

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.

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.
admin added the Bug label 2026-01-22 12:35:02 +01:00
admin closed this issue 2026-01-22 12:35:02 +01:00
Author
Owner

@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): Comment created by @beberlei: Fixed in trunk, added another missing exception method also (duplicateAssociationMapping)
Author
Owner

@doctrinebot commented on GitHub (Feb 2, 2010):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Feb 2, 2010): Issue was closed with resolution "Fixed"
Author
Owner

@doctrinebot commented on GitHub (Dec 13, 2015):

Imported 1 attachments from Jira into https://gist.github.com/0dc73dcd1e42bce17ac2

@doctrinebot commented on GitHub (Dec 13, 2015): Imported 1 attachments from Jira into https://gist.github.com/0dc73dcd1e42bce17ac2 - [10312_doctrineexception_removed_from_orm_mapping.patch](https://gist.github.com/0dc73dcd1e42bce17ac2#file-10312_doctrineexception_removed_from_orm_mapping-patch)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#332