[Zope3-Users] records converter

Andrius Armonas andrius at soften.ktu.lt
Fri Mar 17 03:23:46 EST 2006


Hi,

did "records" converter behaviour changed anyhow in zope3 since zope2?

If we have this:

<input type="text" name="a.x:records:int" value="5" />
<input type="text" name="a.y:records:int" value="51" />
<input type="text" name="a.x:records:int" value="6" />
<input type="text" name="a.y:records:int" value="61" />

Then after form submit we get (in zope3):
a: ['x': 5, 'y': 51, 'x': 6, 'y': 61]

which is wrong I think. It should be:
a: [{'x': 5, 'y': 51}, {'x': 6, 'y': 61}]

Can it be a bug here?

I'm using Zope-3.1.

Thanks.

--
Andrius


More information about the Zope3-users mailing list