summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2019-03-10 23:34:33 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2019-03-10 23:44:08 -0400
commit25fc9562f08fe26e4e2f6d4cf69c34b666f0180a (patch)
treeaa6647eb6eaa1a16694f0aa1cb3348de61c6594b /doc
parentd514c032cd0349afc93f89d5b99835198ae70112 (diff)
downloadsqlalchemy-25fc9562f08fe26e4e2f6d4cf69c34b666f0180a.tar.gz
Clone internals for Select._correlate_except collection as well as _correlate
Fixed bug where use of :func:`.with_polymorphic` or other aliased construct would not properly adapt when the aliased target were used as the :meth:`.Select.correlate_except` target of a subquery used inside of a :func:`.column_property`. This required a fix to the clause adaption mechanics to properly handle a selectable that shows up in the "correlate except" list, in a similar manner as which occurs for selectables that show up in the "correlate" list. This is ultimately a fairly fundamental bug that has lasted for a long time but it is hard to come across it. Fixes: #4537 Change-Id: Ibb97d4eea18b3c452aad519dd14919bfb84d422f
Diffstat (limited to 'doc')
-rw-r--r--doc/build/changelog/unreleased_13/4537.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/build/changelog/unreleased_13/4537.rst b/doc/build/changelog/unreleased_13/4537.rst
new file mode 100644
index 000000000..62b189431
--- /dev/null
+++ b/doc/build/changelog/unreleased_13/4537.rst
@@ -0,0 +1,13 @@
+.. change::
+ :tags: bug, orm
+ :tickets: 4537
+
+ Fixed bug where use of :func:`.with_polymorphic` or other aliased construct
+ would not properly adapt when the aliased target were used as the
+ :meth:`.Select.correlate_except` target of a subquery used inside of a
+ :func:`.column_property`. This required a fix to the clause adaption
+ mechanics to properly handle a selectable that shows up in the "correlate
+ except" list, in a similar manner as which occurs for selectables that show
+ up in the "correlate" list. This is ultimately a fairly fundamental bug
+ that has lasted for a long time but it is hard to come across it.
+