Minimal example:
{{{#!python
from django.contrib.postgres.forms import SplitArrayField
from django.forms import IntegerField
SplitArrayField(IntegerField(max_value=100), size=2).clean([0, 101])
}}}
This leads to an `AttributeError: 'ValidationError' object has no
attribute 'message'`
--
Ticket URL: <https://code.djangoproject.com/ticket/25597>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* severity: Normal => Release blocker
* needs_better_patch: => 0
* needs_tests: => 0
* version: master => 1.8
* needs_docs: => 0
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/25597#comment:1>
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/5485 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/25597#comment:2>
* status: new => closed
* owner: => Tim Graham <timograham@…>
* resolution: => fixed
Comment:
In [changeset:"1f07da3e29c7c3d47968e1c4531dd9bf902575b7" 1f07da3e]:
{{{
#!CommitTicketReference repository=""
revision="1f07da3e29c7c3d47968e1c4531dd9bf902575b7"
Fixed #25597 -- Fixed crash with SplitArrayField and IntegerField on
invalid value.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25597#comment:3>
Comment (by Tim Graham <timograham@…>):
In [changeset:"64a9115bcecf48bce2e7a84d165a6628e2ce607c" 64a9115b]:
{{{
#!CommitTicketReference repository=""
revision="64a9115bcecf48bce2e7a84d165a6628e2ce607c"
[1.9.x] Fixed #25597 -- Fixed crash with SplitArrayField and IntegerField
on invalid value.
Backport of 1f07da3e29c7c3d47968e1c4531dd9bf902575b7 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25597#comment:5>
Comment (by Tim Graham <timograham@…>):
In [changeset:"69e6045ceb18d859a1586bcd5e64f9b786d87c32" 69e6045c]:
{{{
#!CommitTicketReference repository=""
revision="69e6045ceb18d859a1586bcd5e64f9b786d87c32"
[1.8.x] Fixed #25597 -- Fixed crash with SplitArrayField and IntegerField
on invalid value.
Backport of 1f07da3e29c7c3d47968e1c4531dd9bf902575b7 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25597#comment:4>