]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
repair legacy_last_joined_entity for no onclause
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 18 Mar 2021 21:46:24 +0000 (17:46 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 19 Mar 2021 00:19:48 +0000 (20:19 -0400)
commit2c7eb1f7dd20059ab74081947676a0e3389f3464
treebd77685a6d48ca284cea5e066e9eb7d90fc43857
parent3fec5028e695ad138aa46a0ae66c55e8bcb653f6
repair legacy_last_joined_entity for no onclause

Fixed regression where the :meth:`_orm.Query.filter_by` method would fail
to locate the correct source entity if the :meth:`_orm.Query.join` method
had been used targeting an entity without any kind of ON clause.

Fixes: #6092
Change-Id: I38d9099844f842f314c6673bd922467242409cdb
doc/build/changelog/unreleased_14/6092.rst [new file with mode: 0644]
lib/sqlalchemy/orm/context.py
test/orm/test_joins.py