request form value type :records and checkboxes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Invalid
|
Medium
|
Unassigned |
Bug Description
we have a html form like this:
<form>
<input type="checkbox" name="index.
<input type="text" name="index.
<input type="checkbox" name="index.
<input type="text" name="index.
</form>
so the result in zope 2.10 of REQUEST.
[{'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?
Changed in zope2: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
sorry for the typo ... the correct zope 2.12 REQUEST. form['index' ] value is:
[{'enabled':'1', 'name':'index 1'}, {'name':'index 2'}]