﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
20379	request.POST.getlist fails when submitting a JS array of JS objects	Alex Krupp <alex.krupp@…>	nobody	"As described in the summary, request.POST.getlist fails when applied to an array of objects instead of an array of strings:

'''This works:'''

Frontend:
var test = ['a', 'b', 'c']
$.post(""/upload"", {""test"": test}, function(response) {alert(response);});

Backend:
print request.POST.getlist('test[]')
>[u'a', u'b', u'c']  #Success

'''This fails:'''

Frontend:
var foo = {}
foo.bar = ""asdf""
test = [foo, foo, foo]
$.post(""/upload"", {""test"": test}, function(response) {alert(response);});

Backend:

print request.POST.getlist('test[]')
>[]  #Fail"	Uncategorized	closed	Uncategorized	1.5	Normal	invalid			Unreviewed	0	0	0	0	0	0
