From ae7d2837b3c5ae3fd6e9dad6b14a26abb32cfee5 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Fri, 14 Oct 2016 17:06:07 -0400 Subject: Assemble "don't joinedload other side" rule using query._current_path Discovered during testing for [ticket:3822], the rule added for [ticket:1495] will fail if the source object has propagated options set up, which add elements to query._current_path. Fixes: #3824 Change-Id: I3d96c96fee5f9b247f739d2136d18681ac61f2fe --- doc/build/changelog/changelog_11.rst | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doc') diff --git a/doc/build/changelog/changelog_11.rst b/doc/build/changelog/changelog_11.rst index b90b932b5..127227ded 100644 --- a/doc/build/changelog/changelog_11.rst +++ b/doc/build/changelog/changelog_11.rst @@ -31,6 +31,14 @@ was a ``functools.partial`` or other object that doesn't have a ``__module__`` attribute. + .. change:: + :tags: bug, orm + :tickets: 3824 + + Fixed bug involving the rule to disable a joined collection eager + loader on the other side of a many-to-one lazy loader, first added + in [ticket:1495], where the rule would fail if the parent object + had some other lazyloader-bound query options associated with it. .. changelog:: :version: 1.1.1 -- cgit v1.2.1