[Django] #33133: NullBooleanField doesn't work in historical migrations.

7 views
Skip to first unread message

Django

unread,
Sep 23, 2021, 3:40:38 AM9/23/21
to django-...@googlegroups.com
#33133: NullBooleanField doesn't work in historical migrations.
-------------------------------------+-------------------------------------
Reporter: Mariusz | Owner: Mariusz Felisiak
Felisiak |
Type: Bug | Status: assigned
Component: Database | Version: 4.0
layer (models, ORM) |
Severity: Release | Keywords:
blocker |
Triage Stage: Accepted | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
`NullBooleanField` doesn't work in historical migrations.

Thanks Jan Pieter Waagmeester for the [https://github.com/jieter/django-
tables2/pull/822#issuecomment-925215934 report].

Regression in d992f4e3c29a81c956d3d616f0bc19701431b26e.

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

Django

unread,
Sep 23, 2021, 3:55:54 AM9/23/21
to django-...@googlegroups.com
#33133: NullBooleanField doesn't work in historical migrations.
-------------------------------------+-------------------------------------
Reporter: Mariusz Felisiak | Owner: Mariusz

| Felisiak
Type: Bug | Status: assigned
Component: Database layer | Version: 4.0
(models, ORM) |
Severity: Release blocker | 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 Mariusz Felisiak):

* has_patch: 0 => 1


Comment:

[https://github.com/django/django/pull/14886 PR]

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

Django

unread,
Sep 23, 2021, 4:37:08 AM9/23/21
to django-...@googlegroups.com
#33133: NullBooleanField doesn't work in historical migrations.
-------------------------------------+-------------------------------------
Reporter: Mariusz Felisiak | Owner: Mariusz
| Felisiak
Type: Bug | Status: closed

Component: Database layer | Version: 4.0
(models, ORM) |
Severity: Release blocker | 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 GitHub <noreply@…>):

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


Comment:

In [changeset:"3b9fe906bf28d2e748ce4d9a1af5fbcd5df48946" 3b9fe906]:
{{{
#!CommitTicketReference repository=""
revision="3b9fe906bf28d2e748ce4d9a1af5fbcd5df48946"
Fixed #33133 -- Fixed handling NullBooleanField in historical migrations.

Regression in d992f4e3c29a81c956d3d616f0bc19701431b26e.
}}}

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

Django

unread,
Sep 23, 2021, 4:37:50 AM9/23/21
to django-...@googlegroups.com
#33133: NullBooleanField doesn't work in historical migrations.
-------------------------------------+-------------------------------------
Reporter: Mariusz Felisiak | Owner: Mariusz
| Felisiak
Type: Bug | Status: closed
Component: Database layer | Version: 4.0
(models, ORM) |
Severity: Release blocker | 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
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

In [changeset:"715aa2db67790926971610db232732694d5353bb" 715aa2db]:
{{{
#!CommitTicketReference repository=""
revision="715aa2db67790926971610db232732694d5353bb"
[4.0.x] Fixed #33133 -- Fixed handling NullBooleanField in historical
migrations.

Regression in d992f4e3c29a81c956d3d616f0bc19701431b26e.
Backport of 3b9fe906bf28d2e748ce4d9a1af5fbcd5df48946 from main
}}}

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

Reply all
Reply to author
Forward
0 new messages