[DDC-2082] [GH-481] check for false as a return value from get_parent_class(), not null Created: 16/Oct/12  Updated: 30/Dec/13  Resolved: 24/Oct/12

Status: Resolved
Project: Doctrine 2 - ORM
Component/s: None
Affects Version/s: None
Fix Version/s: 2.3.1
Security Level: All

Type: Bug Priority: Major
Reporter: Benjamin Eberlei Assignee: Benjamin Eberlei
Resolution: Fixed Votes: 0
Labels: None


This issue is created automatically through a Github pull request on behalf of beejeebus:

Url: https://github.com/doctrine/doctrine2/pull/481


MappingException::identifierRequired() and MappingException::classIsNotAValidEntityOrMappedSuperClass() both check for null, when they should check for false from get_parent_class().

Comment by Benjamin Eberlei [ 22/Oct/12 ]

A related Github Pull-Request [GH-481] was closed

Comment by Fabio B. Silva [ 24/Oct/12 ]

Merged : https://github.com/doctrine/doctrine2/commit/9d0b254407e6f8827e0f00aa4ed0fcefc6111aad

Comment by Doctrine Bot [ 30/Dec/13 ]

A related Github Pull-Request [GH-481] was closed:

Generated at Tue Oct 06 11:02:51 EDT 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.