Opened 18 years ago

Closed 18 years ago

Last modified 15 years ago

#8039 closed (fixed)

Incompatibillity with extra and order_by in some cases

Reported by: beiske@… Owned by: Malcolm Tredinnick
Component: Database layer (models, ORM) Version: dev
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The problem is however fixed by a side effect in as_sql(). Dont know exactly how to best describe this, but I've included a code-sample.

Attachments (1)

bug.py​ (1.4 KB ) - added by anonymous 18 years ago.

Download all attachments as: .zip

Change History (6)

by anonymous, 18 years ago

Attachment: bug.py​ added

comment:1 by Jacob, 18 years ago

Resolution: → duplicate
Status: new → closed

Duplicate of #8191.

comment:2 by Malcolm Tredinnick, 18 years ago

milestone: → 1.0
Resolution: duplicate
Status: closed → reopened
Triage Stage: Unreviewed → Accepted

Reopening, since this really is a separate issue to parameter handling in extra(), which is the topic of #8191 and I don't want that ticket to become the dumping ground for all things extra-related.

comment:3 by Malcolm Tredinnick, 18 years ago

Owner: changed from nobody to Malcolm Tredinnick
Status: reopened → new

comment:4 by Malcolm Tredinnick, 18 years ago

Resolution: → fixed
Status: new → closed

(In [8429]) Fixed #8039 -- Make sure that extra(tables=...) tables are always included in
the resulting SQL. Previously, an optimisation was removing them in some corner
cases.

comment:5 by Jacob, 15 years ago

milestone: 1.0

Milestone 1.0 deleted

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