[Zope-dev] _.min and _.max still used by ZMI

Johan Carlsson johanc at easypublisher.com
Sat Jan 10 13:26:33 EST 2004


Since the new security release for Zope 2.6.3 (and 2.7) the _.min and 
_.max doesn't work any more.
But they are still used by the ZMI in the following places:

OFS\dtml\properties.dtml(140): size="<dtml-var "_.min(7, 
_.len(getProperty(select_variable)))">">
OFS\dtml\properties.dtml(152): size="<dtml-var "_.min(7, 
_.len(_[select_variable]))">">
OFS\dtml\propertyType.dtml(93): size="<dtml-var "_.min(7, 
_.len(_[select_variable]))">">
OFS\dtml\renameForm.dtml(27): "_.max(40,_.len(getId())+4)">" 
value="&dtml-id;" />

This breaks at least "multiple selection" properties.

Are there a work around for DTML files using these features?


Best Regards,
Johan Carlsson


-- 
Johan Carlsson          Tel: + 46 8 31 24 94
Colliberty              Mob: + 46 70 558 25 24
Torsgatan 72            Email: johanc at easypublisher.com
SE-113 37 STOCKHOLM     Skype: colliberty





More information about the Zope-Dev mailing list