#13149: ForeignKeyRawIdWidget doesn't handle invalid values
----------------------------------+-----------------------------------------
 Reporter:  acdha                 |       Owner:  nobody    
   Status:  new                   |   Milestone:            
Component:  django.contrib.admin  |     Version:  1.1       
 Keywords:  raw_id_fields         |       Stage:  Unreviewed
Has_patch:  1                     |  
----------------------------------+-----------------------------------------
 #11465 added a check for values which do not exist but does not help in
 the case where a user or fuzzer enters a non-integer value into a raw id
 field. Ticket #9209 tracks the change to !ModelChoiceField to add a
 validation error but !ForeignKeyRawIdWidget.label_for_value will trigger
 another attempting to label the invalid value. The attached patch or
 http://github.com/acdha/django/commit/fb87e1a3bba33fd9fae7a0a0fe3a380d7b25d05c
 addresses this as well.

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

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to