Skip to content

Fixed #31420 -- Fixed crash when filtering subquery annotation against a SimpleLazyObject. - #12663

Merged
felixxm merged 1 commit into
django:masterfrom
hramezani:ticket_31420
Apr 6, 2020
Merged

felixxm merged 1 commit into
django:masterfrom
hramezani:ticket_31420

Conversation

@hramezani

Copy link
Copy Markdown
Member

Fixes ticket 31420.
Thanks, @charettes for the solution and @felixxm for the test case.

@charettes charettes left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As usual thanks for submitting a patch @hramezani 🙇

Comment thread tests/expressions/models.py Resolved
Comment thread django/db/models/sql/query.py Resolved
@hramezani
hramezani force-pushed the ticket_31420 branch 5 times, most recently from 5cb1471 to 41047ca Compare April 5, 2020 01:05
@felixxm felixxm self-assigned this Apr 6, 2020
…t a SimpleLazyObject.

Thanks Simon Charette for the solution and analysis.
@felixxm felixxm changed the title Fixed #31420 -- Fixed Using SimpleLazyObject with a nested subquery annotation fails. Fixed #31420 -- Fixed crash when filtering subquery annotation against a SimpleLazyObject. Apr 6, 2020

@felixxm felixxm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hramezani Thanks 👍 I added release notes.

Comment thread django/db/models/sql/query.py Resolved
@felixxm

felixxm commented Apr 6, 2020

Copy link
Copy Markdown
Member

Docs failure is not related with this patch (see #12670).

@felixxm
felixxm merged commit 4237050 into django:master Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants