Opened 8 years ago
Closed 8 years ago
#27583 closed Bug (fixed)
MultiValueDict raises TypeError when values for specific key is None
Reported by: | Mariusz Felisiak | Owned by: | Mariusz Felisiak |
---|---|---|---|
Component: | Utilities | Version: | dev |
Severity: | Normal | Keywords: | MultiValueDict |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
django.utils.datastructures.MultiValueDict
raises:
File "django/utils/datastructures.py", line 149, in _getlist values = list(values) TypeError: 'NoneType' object is not iterable
in getlist
method when force_list
is on and values
for specific key
is None
.
Change History (4)
comment:1 by , 8 years ago
Summary: | MultiValueDict raises TypeError when → MultiValueDict raises TypeError when values for specific key is None |
---|
comment:2 by , 8 years ago
Has patch: | set |
---|---|
Keywords: | MultiValueDict added |
comment:3 by , 8 years ago
Triage Stage: | Unreviewed → Ready for checkin |
---|
It's a regression in #27198 that only affects master.
Note:
See TracTickets
for help on using tickets.
PR