[Bug] Zope 2.6.1/2 (was: [Zope-dev] Bug? Handling of attribute names and default values in forms in 2.61 ??)

Dieter Maurer dieter at handshake.de
Fri Nov 14 14:29:15 EST 2003


Max M wrote at 2003-11-13 18:01 +0100:
 > ...
 > <input type="hidden" name="teachers:list:default" value="">
 > ...
 >          <input type="checkbox" name="teachers:list"
 >             value="<dtml-var path>"<dtml-if selected> checked</dtml-if>>
 > ...
 > I have tracked the problem to the default value always being added to 
 > the "teachers" list.

You are right! You found a bug.

The easiest way to reproduce it is as follows:

  showRequest: <html><body><dtml-var REQUEST></body></html>

Visit the URL: "http://<yourZope>/showRequest?a:list:default=a&a:list=b".
The result will be "form: a --> ['b','a']".

Please file a bug report.

-- 
Dieter



More information about the Zope-Dev mailing list