[Zope-dev] zope.app.form: Make "no value" always available?

Tres Seaver tseaver at palladion.com
Wed Aug 20 13:05:37 EDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thomas Lotze wrote:
> Thomas Lotze wrote:
> 
>> Roger Ineichen wrote:
>>
>>> Since this is a miss behavior and I agree that this should get fixed. We
>>> probably should think about a solution which supports the old behavior
>>> by default.
>>>
>>> Note, this whould probably also break other packages like
>>> z3c.csvvocabulary.
>> We've thought about this some more. Our current suggestion is to
>> implement both behaviours using a class attribute for switching, with
>> the base class implementing the new, better one and a subclass setting
>> the attribute differently for BBB.
> 
> Oh well, it turns out that this doesn't really work well as the class in
> question is used as a base class by all the items edit widgets. The
> next-best approach we'd try would be a module-global flag that turns the
> old behaviour back on and must be set during application start-up for BBB.
> Would that be an acceptable solution?

+0 if you release it with a new "major" release number (i.e., 3.6.0),
and document clearly how to get the BBB behavior.  If you need to
release with a new "minor" number (i.e., 3.5.1), then the BBB behavior
must be the default.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIrE7h+gerLs4ltQ4RAnkaAJ9BsGbe4fgbI04JvcFUZkZavp+NjACaA7Jg
D6yo37JOCEcKSt29Ht/Y3qY=
=RoWq
-----END PGP SIGNATURE-----



More information about the Zope-Dev mailing list