Re: [Django] #25597: Python 3 compatibility error in PostgreSQL array form fields

2015-10-27 Thread Django
#25597: Python 3 compatibility error in PostgreSQL array form fields
-+-
 Reporter:  BertrandBordage  |Owner:  Tim
 |  Graham 
 Type:  Bug  |   Status:  closed
Component:  contrib.postgres |  Version:  1.8
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+-

Comment (by Tim Graham ):

 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: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/073.5a74105116b899a6f5a411c74a8cedab%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25597: Python 3 compatibility error in PostgreSQL array form fields

2015-10-27 Thread Django
#25597: Python 3 compatibility error in PostgreSQL array form fields
-+-
 Reporter:  BertrandBordage  |Owner:  Tim
 |  Graham 
 Type:  Bug  |   Status:  closed
Component:  contrib.postgres |  Version:  1.8
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+-

Comment (by Tim Graham ):

 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: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/073.192ea68a334fa5412a37bf9f88ff7a28%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25597: Python 3 compatibility error in PostgreSQL array form fields

2015-10-27 Thread Django
#25597: Python 3 compatibility error in PostgreSQL array form fields
-+-
 Reporter:  BertrandBordage  |Owner:  Tim
 |  Graham 
 Type:  Bug  |   Status:  closed
Component:  contrib.postgres |  Version:  1.8
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+-
Changes (by Tim Graham ):

 * status:  new => closed
 * owner:   => Tim Graham 
 * resolution:   => fixed


Comment:

 In [changeset:"1f07da3e29c7c3d47968e1c4531dd9bf902575b7" 1f07da3e]:
 {{{
 #!CommitTicketReference repository=""
 revision="1f07da3e29c7c3d47968e1c4531dd9bf902575b7"
 Fixed #25597 -- Fixed crash with SplitArrayField and IntegerField on
 invalid value.
 }}}

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/073.0492abfee9e3be2e3b63e4ced44f04cd%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25597: Python 3 compatibility error in PostgreSQL array form fields

2015-10-26 Thread Django
#25597: Python 3 compatibility error in PostgreSQL array form fields
--+
 Reporter:  BertrandBordage   |Owner:
 Type:  Bug   |   Status:  new
Component:  contrib.postgres  |  Version:  1.8
 Severity:  Release blocker   |   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  1 |UI/UX:  0
--+
Changes (by timgraham):

 * has_patch:  0 => 1


Comment:

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

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/073.a937dc50e6312fb204a6a56d8256f235%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25597: Python 3 compatibility error in PostgreSQL array form fields

2015-10-22 Thread Django
#25597: Python 3 compatibility error in PostgreSQL array form fields
--+
 Reporter:  BertrandBordage   |Owner:
 Type:  Bug   |   Status:  new
Component:  contrib.postgres  |  Version:  1.8
 Severity:  Release blocker   |   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  0 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  1 |UI/UX:  0
--+
Changes (by timgraham):

 * severity:  Normal => Release blocker
 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * version:  master => 1.8
 * needs_docs:   => 0
 * stage:  Unreviewed => Accepted


--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/073.57e827f4903282b323bd26ab72c4b375%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #25597: Python 3 compatibility error in PostgreSQL array form fields

2015-10-22 Thread Django
#25597: Python 3 compatibility error in PostgreSQL array form fields
--+
 Reporter:  BertrandBordage   |  Owner:
 Type:  Bug   | Status:  new
Component:  contrib.postgres  |Version:  master
 Severity:  Normal|   Keywords:
 Triage Stage:  Unreviewed|  Has patch:  0
Easy pickings:  1 |  UI/UX:  0
--+
 
[https://github.com/django/django/blob/master/django/contrib/postgres/forms/array.py
 django.contrib.postgres.forms.array] uses several times the old
 `Exception.message` attribute to get the error message instead of
 `str(Exception)`. This breaks compatibility with Python 3 at least when
 using `SplitArrayField`, but it should also lead to errors on other form
 fields from this module.

 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: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/058.0ffc1fbdebce2d96f2b84a1c0e55cbfe%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.