Oracle backend broken on queryset-refactor
|Reported by:||Malcolm Tredinnick||Owned by:||nobody|
|Component:||Database layer (models, ORM)||Version:||queryset-refactor|
|Cc:||Ian Kelly||Triage Stage:||Accepted|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Noting this here in case anybody is trying to use queryset-refactor and Oracle...
At some point in the recent past, I've managed to completely break Oracle backend. Ian Kelly reports a whole bunch of failures when running the test suite that look like
File "/home/ikelly/projects/django.qs-rf/django/db/models/query.py", line 156, in iterator obj = self.model(*row[index_start:]) File "/home/ikelly/projects/django.qs-rf/django/db/models/base.py", line 205, in __init__ raise IndexError("Number of args exceeds number of fields") IndexError: Number of args exceeds number of fields
My guess is that the
resolve_columns() method in
django.db.backend.oracle.query.OracleQuery needs updating in light of the changes in  (which moved the "extra" select columns to the front of the output columns list), but that's just a guess.