Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Original entity data resolves inverse 1-1 joins #11109

Open
wants to merge 4 commits into
base: 2.17.x
Choose a base branch
from

Commits on Dec 6, 2023

  1. Original entity data resolves inverse 1-1 joins

    If the source entity for an inverse (non-owning) 1-1 relationship is
    identified by an association then the identifying association may not
    be set when an inverse one-to-one association is resolved. This means
    that no data is available in the entity to resolve the needed column
    value for the join query.
    
    Provide the original entity data for the source entity as a fallback
    to resolve the query conditions.
    
    The new test will fail if the fix is removed (comment out lines
    840-847 in BasicEntityPersister.php).
    
    Fixes doctrine#11108
    mcurland committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    a9b6fe5 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2023

  1. Revert loadOneToOneEntity signature change

    The original entity data for any entity is available from the unit of
    work. Revert the loadOneToOneEntity signature change that passed the
    original data directly to loadOneToOneEntity.
    mcurland committed Dec 9, 2023
    Configuration menu
    Copy the full SHA
    7b5e9da View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2023

  1. Configuration menu
    Copy the full SHA
    9f3fa0e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cb7ddaf View commit details
    Browse the repository at this point in the history