[Django] #25661: LinearRing doesn't check number of poins during list assignment

11 views
Skip to first unread message

Django

unread,
Nov 2, 2015, 11:01:43 AM11/2/15
to django-...@googlegroups.com
#25661: LinearRing doesn't check number of poins during list assignment
----------------------------+--------------------
Reporter: sir-sigurd | Owner: nobody
Type: Bug | Status: new
Component: GIS | Version: 1.8
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
----------------------------+--------------------
{{{
In [7]: lr = LinearRing((0, 0), (0, 1), (1, 1), (0, 0))

In [8]: lr[:] = ((0,0), (0,1), (0,0))
GEOS_ERROR: IllegalArgumentException: Invalid number of points in
LinearRing found 3 - must be 0 or >= 4

---------------------------------------------------------------------------
GEOSException Traceback (most recent call
last)
}}}

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

Django

unread,
Nov 2, 2015, 11:01:52 AM11/2/15
to django-...@googlegroups.com
#25661: LinearRing doesn't check number of poins during list assignment
----------------------------+--------------------------------------
Reporter: sir-sigurd | Owner: sir-sigurd
Type: Bug | Status: assigned
Component: GIS | Version: 1.8
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
----------------------------+--------------------------------------
Changes (by sir-sigurd):

* owner: nobody => sir-sigurd
* status: new => assigned
* needs_docs: => 0
* needs_tests: => 0
* needs_better_patch: => 0


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

Django

unread,
Nov 2, 2015, 2:40:49 PM11/2/15
to django-...@googlegroups.com
#25661: LinearRing doesn't check number of poins during list assignment
----------------------------+--------------------------------------
Reporter: sir-sigurd | Owner: sir-sigurd
Type: Bug | Status: assigned
Component: GIS | Version: 1.8
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 sir-sigurd):

* has_patch: 0 => 1


Comment:

PR -- https://github.com/django/django/pull/5538

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

Django

unread,
Nov 2, 2015, 2:41:20 PM11/2/15
to django-...@googlegroups.com
#25661: LinearRing doesn't check number of points during list assignment

----------------------------+--------------------------------------
Reporter: sir-sigurd | Owner: sir-sigurd
Type: Bug | Status: assigned
Component: GIS | Version: 1.8
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
----------------------------+--------------------------------------

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

Django

unread,
Nov 2, 2015, 4:41:56 PM11/2/15
to django-...@googlegroups.com
#25661: LinearRing doesn't check number of points during list assignment
----------------------------+--------------------------------------
Reporter: sir-sigurd | Owner: sir-sigurd
Type: Bug | Status: closed
Component: GIS | Version: 1.8
Severity: Normal | Resolution: fixed
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 Claude Paroz <claude@…>):

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


Comment:

In [changeset:"1b598b4b423f7f3b63d523a4cc1e42e5364dd415" 1b598b4b]:
{{{
#!CommitTicketReference repository=""
revision="1b598b4b423f7f3b63d523a4cc1e42e5364dd415"
Fixed #25661 -- Fixed checking number of points during list assignment for
`LinearRing`.
}}}

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

Django

unread,
Nov 2, 2015, 4:42:41 PM11/2/15
to django-...@googlegroups.com
#25661: LinearRing doesn't check number of points during list assignment
----------------------------+--------------------------------------
Reporter: sir-sigurd | Owner: sir-sigurd
Type: Bug | Status: closed
Component: GIS | Version: 1.8
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Unreviewed

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
----------------------------+--------------------------------------

Comment (by Claude Paroz <claude@…>):

In [changeset:"306efc8e454cec9e522fda6528313c689fdf4dfd" 306efc8]:
{{{
#!CommitTicketReference repository=""
revision="306efc8e454cec9e522fda6528313c689fdf4dfd"
[1.9.x] Fixed #25661 -- Fixed checking number of points during list
assignment for `LinearRing`.

Backport of 1b598b4b4 from master.
}}}

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

Reply all
Reply to author
Forward
0 new messages