Skip to content

Conversation

@schauder
Copy link
Contributor

Before this fix, whenever a column of an inline query was rendered the InlineQuery and all its children were visited, resulting in spurious output.
This is no prevented by injecting a NoopVisitor.

Supersedes #1362

schauder and others added 2 commits November 15, 2022 15:37
Adds a test demonstrating that the join condition of inline queries messes up those of outer joins.

Original pull request #1362
@schauder schauder force-pushed the issue/1362-inline-query branch 2 times, most recently from f9a5853 to 670ae6f Compare November 15, 2022 14:41
Before this fix, whenever a column of an inline query was rendered the `InlineQuery` and all its children were visited, resulting in spurious output.
This is no prevented by injecting a NoopVisitor.

Closes #1362
@schauder schauder force-pushed the issue/1362-inline-query branch from 670ae6f to d9a2829 Compare November 15, 2022 14:45
@schauder schauder added this to the 3.0 GA (2022.0.0) milestone Nov 15, 2022
mp911de pushed a commit that referenced this pull request Nov 16, 2022
Adds a test demonstrating that the join condition of inline queries messes up those of outer joins.

Closes: #1362
Original pull request: #1368
mp911de pushed a commit that referenced this pull request Nov 16, 2022
Before this fix, whenever a column of an inline query was rendered the `InlineQuery` and all its children were visited, resulting in spurious output.
This is no prevented by injecting a NoopVisitor.

Closes: #1362
Original pull request: #1368
mp911de added a commit that referenced this pull request Nov 16, 2022
Extend tests to use aliased columns.

See #1362
Original pull request: #1368
mp911de pushed a commit that referenced this pull request Nov 16, 2022
Adds a test demonstrating that the join condition of inline queries messes up those of outer joins.

Closes: #1362
Original pull request: #1368
mp911de pushed a commit that referenced this pull request Nov 16, 2022
Before this fix, whenever a column of an inline query was rendered the `InlineQuery` and all its children were visited, resulting in spurious output.
This is no prevented by injecting a NoopVisitor.

Closes: #1362
Original pull request: #1368
mp911de added a commit that referenced this pull request Nov 16, 2022
Extend tests to use aliased columns.

See #1362
Original pull request: #1368
@mp911de mp911de added the type: bug A general bug label Nov 16, 2022
@mp911de mp911de closed this Nov 16, 2022
@mp911de
Copy link
Member

mp911de commented Nov 16, 2022

That's merged, polished, and backported now.

@mp911de mp911de deleted the issue/1362-inline-query branch November 16, 2022 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug A general bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants