8000 count on Extra Lazy many-to-many requiring ID where LAZY does not · Issue #7640 · doctrine/orm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
count on Extra Lazy many-to-many requiring ID where LAZY does not #7640
Open
@parljohn

Description

@parljohn

Bug Report

Id of joined column doesn't work without the join column of the owner being an ID field.

    $id             = $this->uow->getEntityIdentifier($collection->getOwner());

Line 119 of ManytoManyPersister.
which only runs when EXTRA LAZY. Otherwise, count and LAZY functions work fine.

Expected behavior

Allow for non ID fields to be used in many-to-many relationships and allow for EXTRA_LAZY functionality.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0