Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#31607 closed Bug (fixed)

Subquery.__eq__() doesn't work properly for resolved subqueries.

Reported by: Mariusz Felisiak Owned by: Mariusz Felisiak
Component: Database layer (models, ORM) Version: 3.0
Severity: Release blocker Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Subquery.__eq__() doesn't work properly for resolved subqueries, basically all resolved subqueries are now equal.

Regression in 691def10a0197d83d2d108bd9043b0916d0f09b4.

Attachments (1)

test-31607.diff (1.2 KB ) - added by Mariusz Felisiak 4 years ago.
Regression test.

Download all attachments as: .zip

Change History (9)

by Mariusz Felisiak, 4 years ago

Attachment: test-31607.diff added

Regression test.

comment:1 by Mariusz Felisiak, 4 years ago

Has patch: set

comment:2 by Mariusz Felisiak <felisiak.mariusz@…>, 4 years ago

Resolution: fixed
Status: assignedclosed

In a125da6a:

Fixed #31607 -- Fixed evaluated Subquery equality.

Regression in 691def10a0197d83d2d108bd9043b0916d0f09b4.

comment:3 by Mariusz Felisiak, 4 years ago

Triage Stage: UnreviewedAccepted
Version: 3.13.0

comment:4 by Mariusz Felisiak <felisiak.mariusz@…>, 4 years ago

In 937314d:

[3.1.x] Fixed #31607 -- Fixed evaluated Subquery equality.

Regression in 691def10a0197d83d2d108bd9043b0916d0f09b4.

Backport of a125da6a7c79b1d4c55677d0bed6f9b1d7d77353 from master

comment:5 by Mariusz Felisiak <felisiak.mariusz@…>, 4 years ago

In 0ba5aadb:

[3.0.x] Fixed #31607 -- Fixed evaluated Subquery equality.

Regression in 691def10a0197d83d2d108bd9043b0916d0f09b4.

Backport of a125da6a7c79b1d4c55677d0bed6f9b1d7d77353 from master

comment:6 by GitHub <noreply@…>, 4 years ago

In 8328811:

Refs #31607 -- Added release notes for a125da6a7c79b1d4c55677d0bed6f9b1d7d77353.

comment:7 by Mariusz Felisiak <felisiak.mariusz@…>, 4 years ago

In d5231719:

[3.1.x] Refs #31607 -- Added release notes for a125da6a7c79b1d4c55677d0bed6f9b1d7d77353.

Backport of 8328811f048fed0dd22573224def8c65410c9f2e from master

comment:8 by Mariusz Felisiak <felisiak.mariusz@…>, 4 years ago

In 52453b4:

[3.0.x] Refs #31607 -- Added release notes for a125da6a7c79b1d4c55677d0bed6f9b1d7d77353.

Backport of 8328811f048fed0dd22573224def8c65410c9f2e from master

Note: See TracTickets for help on using tickets.
Back to Top