[Django] #32777: Statement created by _create_unique_sql makes references_column is always false

13 views
Skip to first unread message

Django

unread,
May 23, 2021, 8:23:31 AM5/23/21
to django-...@googlegroups.com
#32777: Statement created by _create_unique_sql makes references_column is always
false
-------------------------------------+-------------------------------------
Reporter: Hannes | Owner: Hannes Ljungberg
Ljungberg |
Type: Bug | Status: assigned
Component: | Version: dev
Migrations |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
This is due to an instance of `Table` is passed as an argument to
`Columns` when a string is expected.

--
Ticket URL: <https://code.djangoproject.com/ticket/32777>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
May 23, 2021, 8:24:36 AM5/23/21
to django-...@googlegroups.com
#32777: Statement created by _create_unique_sql makes references_column always
false
-------------------------------------+-------------------------------------
Reporter: Hannes Ljungberg | Owner: Hannes

| Ljungberg
Type: Bug | Status: assigned
Component: Migrations | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

--
Ticket URL: <https://code.djangoproject.com/ticket/32777#comment:1>

Django

unread,
May 23, 2021, 8:30:10 AM5/23/21
to django-...@googlegroups.com
#32777: Statement created by _create_unique_sql makes references_column always
false
-------------------------------------+-------------------------------------
Reporter: Hannes Ljungberg | Owner: Hannes

| Ljungberg
Type: Bug | Status: assigned
Component: Migrations | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Hannes Ljungberg):

* has_patch: 0 => 1


Comment:

https://github.com/django/django/pull/14434

--
Ticket URL: <https://code.djangoproject.com/ticket/32777#comment:2>

Django

unread,
May 23, 2021, 12:35:15 PM5/23/21
to django-...@googlegroups.com
#32777: Statement created by _create_unique_sql makes references_column always
false
-------------------------------------+-------------------------------------
Reporter: Hannes Ljungberg | Owner: Hannes

| Ljungberg
Type: Bug | Status: assigned
Component: Migrations | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):

* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/32777#comment:3>

Django

unread,
May 24, 2021, 1:10:48 AM5/24/21
to django-...@googlegroups.com
#32777: Statement created by _create_unique_sql makes references_column always
false
-------------------------------------+-------------------------------------

Reporter: Hannes Ljungberg | Owner: Hannes
| Ljungberg
Type: Bug | Status: closed
Component: Migrations | Version: dev
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"7ef2398e814e044d54b68359d473cc64902a8c31" 7ef2398e]:
{{{
#!CommitTicketReference repository=""
revision="7ef2398e814e044d54b68359d473cc64902a8c31"
Fixed #32777 -- Passed table reference as a string to
DatabaseSchemaEditor._index_columns().
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/32777#comment:4>

Reply all
Reply to author
Forward
0 new messages