Hello Christian

you are right:
params = [['key': 'val1'],  ['key': 'val2']]

is passed as "key=['val1', val2']"
instead of key=val1&key=val2

it is weird that I haven't seen this one before, as I don't think it is a 1.6.0 regression.

Thank you for your feedback, I will fix the problem soon (before next week).

Regards

ben


Christian Klinger a écrit :
Hello,


i just playing with funkload. I try to test some form elements.
I think i found a bug or maybe i understand something not correctly:

If i have an input form like these:


<input type=text name="n1:list" value="n1">
<input type=text name="n2:list" value="n2">

The n1:list is a special zope thing: http://wiki.zope.org/zope2/ZPublisher


If i try to test the usecase with this funkload test

self.post(server_url + "/u/testuaz/base_edit", params=[
['n1:list', 'n1'],
['n2:list', 'n1'],
.....


the fl-run-test command builds this post request:
POST: http://192.168.2.13:9090/u/testuaz/base_edit {'uadbru:list': ['n1', 'n2'].....}

but i think it should be like this:

POST: http://192.168.2.13:9090/u/testuaz/base_edit {'uadbru:list': 'n1', 'uadbru:list':'n2'}

Maybe you have an idea how to manage this behavior?

Christian

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel


_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to