The last query before the error was raised is this :
'SELECT "GEO"."DJANGO_PESSOA"."OBJECTID" FROM "GEO"."DJANGO_PESSOA" INNER
'
'JOIN "GEO"."DJANGO_DOCUMENTO"_PF951 ON ("GEO"."DJANGO_PESSOA"."OBJECTID"
= '
'"GEO"."DJANGO_DOCUMENTO"_PF951."DJANGOTESTPESSOA_ID") WHERE '
'"GEO"."DJANGO_DOCUMENTO"_PF951."DJANGOTESTDOCUMENTO_ID" = %s'
{{{
#!div style="font-size: 80%"
models.py:
{{{#!python
from __future__ import unicode_literals
from django.db import models
class DjangoTestPessoa(models.Model):
objectid = models.BigIntegerField(primary_key=True,unique=True)
nome = models.CharField(max_length=150, blank=True, null=True)
class Meta:
db_table = '"GEO"."DJANGO_PESSOA"'
class DjangoTestDocumento(models.Model):
objectid = models.BigIntegerField(primary_key=True,unique=True)
numero = models.CharField(max_length=150, blank=True, null=True)
pessoas = models.ManyToManyField(DjangoTestPessoa)
class Meta:
db_table = '"GEO"."DJANGO_DOCUMENTO"'
}}}
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/27458>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* Attachment "DatabaseError at
_admin_cadastro_djangotestdocumento_add_.htm" added.
Debug page
* keywords: cx_oracle ora-00911 => Oracle
* cc: felisiak.mariusz@… (added)
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/27458#comment:1>
Comment (by felixxm):
Would you like to prepare PR? If not, assign it to me.
--
Ticket URL: <https://code.djangoproject.com/ticket/27458#comment:2>
Comment (by Andrew Nester):
@felixxm I would like to take care of it if you don't mind
--
Ticket URL: <https://code.djangoproject.com/ticket/27458#comment:3>
* owner: nobody => Andrew Nester
* status: new => assigned
* has_patch: 0 => 1
Comment:
Just created pull request for this ticket
[https://github.com/django/django/pull/7532 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/27458#comment:4>
* needs_better_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/27458#comment:5>
* needs_better_patch: 1 => 0
Comment:
I've updated pull request, that's why Patch needs improvement set to No
--
Ticket URL: <https://code.djangoproject.com/ticket/27458#comment:6>
* cc: Simon Charette (added)
* version: 1.10 => master
* stage: Accepted => Ready for checkin
Comment:
LGTM pending a final docstring review of the `strip_trailing_quotes`
function from a native speaker.
--
Ticket URL: <https://code.djangoproject.com/ticket/27458#comment:7>
* needs_better_patch: 0 => 1
* stage: Ready for checkin => Accepted
Comment:
I left some comments for improvement on the PR and closed #18514 as a
duplicate.
--
Ticket URL: <https://code.djangoproject.com/ticket/27458#comment:8>
* needs_better_patch: 1 => 0
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/27458#comment:9>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"69b7d4b116e3b70b250c77829e11038d5d55c2a8" 69b7d4b1]:
{{{
#!CommitTicketReference repository=""
revision="69b7d4b116e3b70b250c77829e11038d5d55c2a8"
Fixed #27458 -- Fixed invalid sequence/index names when using
"USER"."TABLE" db_table on Oracle.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/27458#comment:10>
Old description:
New description:
--
--
Ticket URL: <https://code.djangoproject.com/ticket/27458#comment:11>
Comment (by Gabriel Canto de Souza):
Replying to [comment:10 Tim Graham <timograham@…>]:
> In [changeset:"69b7d4b116e3b70b250c77829e11038d5d55c2a8" 69b7d4b1]:
> {{{
> #!CommitTicketReference repository=""
revision="69b7d4b116e3b70b250c77829e11038d5d55c2a8"
> Fixed #27458 -- Fixed invalid sequence/index names when using
"USER"."TABLE" db_table on Oracle.
> }}}
Is it possible to remove attachments or delete this ticket? I aciddentaly
posted sensible data from my company and they are asking that it is
removed immediately
--
Ticket URL: <https://code.djangoproject.com/ticket/27458#comment:12>
Comment (by Simon Charette <charette.s@…>):
In [changeset:"ee85ef8315db839e5723dea19d8b971420a2ebb4" ee85ef8]:
{{{
#!CommitTicketReference repository=""
revision="ee85ef8315db839e5723dea19d8b971420a2ebb4"
Fixed #28792 -- Fixed index name truncation of namespaced tables.
Refs #27458, #27843.
Thanks Tim and Mariusz for the review.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/27458#comment:11>
Comment (by Simon Charette <charette.s@…>):
In [changeset:"a35ab95ed4eec5c62fa19bdc69ecfe0eff3e1fca" a35ab95e]:
{{{
#!CommitTicketReference repository=""
revision="a35ab95ed4eec5c62fa19bdc69ecfe0eff3e1fca"
[1.11.x] Fixed #28792 -- Fixed index name truncation of namespaced tables.
Refs #27458, #27843.
Thanks Tim and Mariusz for the review.
Backport of ee85ef8315db839e5723dea19d8b971420a2ebb4 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/27458#comment:12>
Comment (by Tim Graham <timograham@…>):
In [changeset:"0696edbc6a724ceaba86a977b6d21e57647cb2ac" 0696edbc]:
{{{
#!CommitTicketReference repository=""
revision="0696edbc6a724ceaba86a977b6d21e57647cb2ac"
[2.0.x] Fixed #28792 -- Fixed index name truncation of namespaced tables.
Refs #27458, #27843.
Thanks Tim and Mariusz for the review.
Backport of ee85ef8315db839e5723dea19d8b971420a2ebb4 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/27458#comment:13>