Re: [Django] #33638: Saving unique geography fields crashes in the admin on PostGIS.

27 views
Skip to first unread message

Django

unread,
Apr 13, 2022, 9:36:35 AM4/13/22
to django-...@googlegroups.com
#33638: Saving unique geography fields crashes in the admin on PostGIS.
----------------------------------+------------------------------------
Reporter: Sebastian Clarke | Owner: nobody
Type: Bug | Status: new
Component: GIS | Version: 3.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------+------------------------------------

Comment (by Claude Paroz):

I think that casting is a track to explore.

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

Django

unread,
Jan 14, 2023, 1:12:21 PM1/14/23
to django-...@googlegroups.com
#33638: Saving unique geography fields crashes in the admin on PostGIS.
----------------------------------+---------------------------------------
Reporter: Sebastian Clarke | Owner: Jacob Walls
Type: Bug | Status: assigned

Component: GIS | Version: 3.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------+---------------------------------------
Changes (by Jacob Walls):

* owner: nobody => Jacob Walls
* status: new => assigned


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

Django

unread,
Feb 2, 2023, 10:31:46 AM2/2/23
to django-...@googlegroups.com
#33638: Saving unique geography fields crashes in the admin on PostGIS.
----------------------------------+---------------------------------------
Reporter: Sebastian Clarke | Owner: Jacob Walls
Type: Bug | Status: assigned
Component: GIS | Version: 3.2
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 Jacob Walls):

* has_patch: 0 => 1


Comment:

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

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

Django

unread,
Feb 2, 2023, 10:34:20 AM2/2/23
to django-...@googlegroups.com
#33638: Saving unique geography fields crashes in the admin on PostGIS.
----------------------------------+---------------------------------------
Reporter: Sebastian Clarke | Owner: Jacob Walls
Type: Bug | Status: assigned
Component: GIS | Version: 3.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
----------------------------------+---------------------------------------
Changes (by Jacob Walls):

* needs_better_patch: 0 => 1


Comment:

A MySQL issue to look into.

--
Ticket URL: <https://code.djangoproject.com/ticket/33638#comment:5>

Django

unread,
Feb 2, 2023, 12:20:35 PM2/2/23
to django-...@googlegroups.com
#33638: Saving unique geography fields crashes in the admin on PostGIS.
----------------------------------+---------------------------------------
Reporter: Sebastian Clarke | Owner: Jacob Walls
Type: Bug | Status: assigned
Component: GIS | Version: 3.2
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 Jacob Walls):

* needs_better_patch: 1 => 0


--
Ticket URL: <https://code.djangoproject.com/ticket/33638#comment:6>

Django

unread,
Feb 3, 2023, 1:20:47 AM2/3/23
to django-...@googlegroups.com
#33638: Saving unique geography fields crashes in the admin on PostGIS.
----------------------------------+---------------------------------------
Reporter: Sebastian Clarke | Owner: Jacob Walls
Type: Bug | Status: assigned
Component: GIS | Version: 3.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
----------------------------------+---------------------------------------
Changes (by Mariusz Felisiak):

* needs_better_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/33638#comment:7>

Django

unread,
Feb 4, 2023, 11:22:20 AM2/4/23
to django-...@googlegroups.com
#33638: Saving unique geography fields crashes in the admin on PostGIS.
----------------------------------+---------------------------------------
Reporter: Sebastian Clarke | Owner: Jacob Walls
Type: Bug | Status: assigned
Component: GIS | Version: 3.2
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 Jacob Walls):

* needs_better_patch: 1 => 0


--
Ticket URL: <https://code.djangoproject.com/ticket/33638#comment:8>

Django

unread,
Feb 6, 2023, 3:26:41 AM2/6/23
to django-...@googlegroups.com
#33638: Saving unique geography fields crashes in the admin on PostGIS.
----------------------------------+---------------------------------------
Reporter: Sebastian Clarke | Owner: Jacob Walls
Type: Bug | Status: assigned
Component: GIS | Version: 3.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
----------------------------------+---------------------------------------
Changes (by Mariusz Felisiak):

* needs_better_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/33638#comment:9>

Django

unread,
Feb 6, 2023, 3:53:43 PM2/6/23
to django-...@googlegroups.com
#33638: Saving unique geography fields crashes in the admin on PostGIS.
----------------------------------+---------------------------------------
Reporter: Sebastian Clarke | Owner: Jacob Walls
Type: Bug | Status: assigned
Component: GIS | Version: 3.2
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 Jacob Walls):

* needs_better_patch: 1 => 0


--
Ticket URL: <https://code.djangoproject.com/ticket/33638#comment:10>

Django

unread,
Feb 7, 2023, 5:41:33 AM2/7/23
to django-...@googlegroups.com
#33638: Saving unique geography fields crashes in the admin on PostGIS.
-------------------------------------+-------------------------------------

Reporter: Sebastian Clarke | Owner: Jacob
| Walls
Type: Bug | Status: assigned
Component: GIS | Version: 3.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* stage: Accepted => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/33638#comment:11>

Django

unread,
Feb 7, 2023, 6:24:22 AM2/7/23
to django-...@googlegroups.com
#33638: Saving unique geography fields crashes in the admin on PostGIS.
-------------------------------------+-------------------------------------
Reporter: Sebastian Clarke | Owner: Jacob
| Walls
Type: Bug | Status: closed
Component: GIS | Version: 3.2
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Ready for
| checkin
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:"4403432b759124aa613249373e0d2ede64ae8765" 4403432b]:
{{{
#!CommitTicketReference repository=""
revision="4403432b759124aa613249373e0d2ede64ae8765"
Fixed #33638 -- Fixed GIS lookups crash with geography fields on PostGIS.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/33638#comment:12>

Django

unread,
Feb 7, 2023, 6:25:57 AM2/7/23
to django-...@googlegroups.com
#33638: Saving unique geography fields crashes in the admin on PostGIS.
-------------------------------------+-------------------------------------
Reporter: Sebastian Clarke | Owner: Jacob
| Walls
Type: Bug | Status: closed
Component: GIS | Version: 3.2
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
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:"714d59d57f53fbbf1c0c2520bc3c981597cd2239" 714d59d5]:
{{{
#!CommitTicketReference repository=""
revision="714d59d57f53fbbf1c0c2520bc3c981597cd2239"
[4.2.x] Fixed #33638 -- Fixed GIS lookups crash with geography fields on
PostGIS.

Backport of 4403432b759124aa613249373e0d2ede64ae8765 from main
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/33638#comment:13>

Reply all
Reply to author
Forward
0 new messages