Opened 16 years ago

Closed 16 years ago

Last modified 12 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 16 years ago.

Download all attachments as: .zip

Change History (6)

by anonymous, 16 years ago

Attachment: bug.py added

comment:1 by Jacob, 16 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #8191.

comment:2 by Malcolm Tredinnick, 16 years ago

milestone: 1.0
Resolution: duplicate
Status: closedreopened
Triage Stage: UnreviewedAccepted

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, 16 years ago

Owner: changed from nobody to Malcolm Tredinnick
Status: reopenednew

comment:4 by Malcolm Tredinnick, 16 years ago

Resolution: fixed
Status: newclosed

(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, 12 years ago

milestone: 1.0

Milestone 1.0 deleted

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