Skip to content

Loading…

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

Closed
doctrinebot opened this Issue · 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
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.