[zope2-tracker] [Bug 619081] [NEW] request form value type :records and checkboxes
petschki
peter.mathis at kombinat.at
Tue Aug 17 04:22:54 EDT 2010
Public bug reported:
we have a html form like this:
<form>
<input type="checkbox" name="index.enabled:records" value="0" />
<input type="text" name="index.name:records" value="index 1" />
<input type="checkbox" name="index.enabled:records" value="1" checked="checked" />
<input type="text" name="index.name:records" value="index 2" />
</form>
so the result in zope 2.10 of REQUEST.form['index'] was:
[{'name':'index 1'}, {'enabled':'1', 'name':'index 2'}]
but now in zope 2.12 we get
[{'enabled': 'name':'index 1'}, {'name':'index 2'}]
i think it's because unchecked checkboxes are missing in the request (as
usual) but the first checked checkbox is falsely dedicated to the first
record ... this is bad.
can anybody confirm this?
** Affects: zope2
Importance: Undecided
Status: New
--
request form value type :records and checkboxes
https://bugs.launchpad.net/bugs/619081
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.
More information about the zope2-tracker
mailing list