DDC-1505: EntityManager->find returning null for entity on the inverse side of a OneToOne association #2135

Closed
doctrinebot opened this Issue Nov 23, 2011 · 5 comments

2 participants

@doctrinebot

Jira issue originally created by user chrisrichard:

BasicEntityPersister.getJoinSQLForJoinColumns treats joinColumn nullable setting as defaulting to false:

         if(isset($joinColumn['nullable']) && $joinColumn['nullable']){
             return 'LEFT JOIN';
         }

I think it should be:

         if(!isset($joinColumn['nullable']) ](| $joinColumn['nullable')){
             return 'LEFT JOIN';
         }
@doctrinebot

Comment created by @beberlei:

Assigned to asm

@doctrinebot

Comment created by @beberlei:

This issue is referenced in Github Pull-Request GH-226
#226

@doctrinebot

Comment created by @asm89:

Should be fixed as soon as this is pulled:
#226

@doctrinebot

Comment created by @beberlei:

Related Pull Request was closed: #226

@doctrinebot

Issue was closed with resolution "Fixed"

@asm89 asm89 was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment