#29736: Admin interface causes ORA-00918: column ambiguously defined
-------------------------------------+-------------------------------------
Reporter: | Owner: nobody
rafaelzinezi |
Type: Bug | Status: new
Component: | Version: 2.1
contrib.admin | Keywords: oracle admin
Severity: Normal | exception
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
As per ticket #29630 same bug.
Attempting to log in to the admin interface causes a SQL exception to be
raised when using an Oracle database. The exception throw by Oracle is ...
ORA-00918: column ambiguously defined.
Database: Oracle 12.1
cx_Oracle version: 6.4.1
Python 3.5.2
Steps to reproduce...
1) Start a project
2) Configure the use of Oracle as a database
3) Execute makemigrations
4) Execute migrate
5) Execute createsuperuser
6) Execute runserver
7) Open localhost:8000/admin in a browser
8) Enter admin username/password and click to log in
Was able to extract the offending query from traceback and found that when
base.html runs it, in this case, it has multiple columns named ID (from 3
tables: Django_Admin_Log, Auth_User and Django_Content_Type).
--
Ticket URL: <https://code.djangoproject.com/ticket/29736>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/055.bf941264b11105cc8e94f982618dfbaf%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.