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

Merge 2.19.x up into 3.2.x #11581

Merged
merged 12 commits into from
Aug 23, 2024
Merged

Merge 2.19.x up into 3.2.x #11581

merged 12 commits into from
Aug 23, 2024

Commits on Jun 26, 2024

  1. Use modern array syntax in the doc

    GromNaN authored and greg0ire committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    e3d7c60 View commit details
    Browse the repository at this point in the history
  2. Merge pull request doctrine#11526 from GromNaN/patch-1

    doc: Use modern array syntax in getting started
    greg0ire authored Jun 26, 2024
    Configuration menu
    Copy the full SHA
    c1bb2cc View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2024

  1. Configuration menu
    Copy the full SHA
    19129e9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request doctrine#11534 from k00ni/patch-1

    working-with-objects.rst: added missing white space
    greg0ire authored Jun 28, 2024
    Configuration menu
    Copy the full SHA
    c37b115 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2024

  1. Fix the support for custom parameter types in native queries

    The Query class (used for DQL queries) takes care of using the value and
    type as is when a type was specified for a parameter instead of going
    through the default processing of values.
    The NativeQuery class was missing the equivalent check, making the
    custom type work only if the default processing of values does not
    convert the value to a different one.
    stof authored and greg0ire committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    9bd51aa View commit details
    Browse the repository at this point in the history
  2. Merge pull request doctrine#11543 from stof/fix_native_query_paramete…

    …r_type
    
    Fix the support for custom parameter types in native queries
    greg0ire authored Jul 4, 2024
    Configuration menu
    Copy the full SHA
    51ad860 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2024

  1. GH11551 - fix OneToManyPersister::deleteEntityCollection when using

    single-inheritence entity parent as targetEntity.
    
    When using the parent entity for a single-inheritence table as the
    targetEntity for a property, the discriminator value should be all
    of the values in the discriminator map.
    OneToManyPersister::deleteEntityCollection has been amended to
    reflect this.
    gitbugr committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    121158f View commit details
    Browse the repository at this point in the history
  2. fix spacing

    Co-authored-by: Grégoire Paris <[email protected]>
    gitbugr and greg0ire authored Aug 3, 2024
    Configuration menu
    Copy the full SHA
    2707b09 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. Merge pull request doctrine#11564 from gitbugr/GH11501_fix_o2m_persis…

    …ter_single_inheritence_parent_relation_bugfix
    
    GH11551 - fix OneToManyPersister::deleteEntityCollection case where single-inheritence table parent entity is targetEntity.
    greg0ire authored Aug 5, 2024
    Configuration menu
    Copy the full SHA
    8ac6a13 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2024

  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.
    
    The original entity data can be retrieved from the unit of work and
    is used as a fallback to populate the query condition.
    
    Fixes doctrine#11108
    mcurland authored and greg0ire committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    fe4a2e8 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. Merge pull request doctrine#11109 from mcurland/Fix11108

    Original entity data resolves inverse 1-1 joins
    greg0ire authored Aug 23, 2024
    Configuration menu
    Copy the full SHA
    168ac31 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3a82b15 View commit details
    Browse the repository at this point in the history