[ZCM] [ZC] 303/ 3 Resolve "propertysheets strip last char of longs"
Collector: Zope Bugs and Patches ...
zope-coders@zope.org
Thu, 21 Mar 2002 12:28:24 -0500
Issue #303 Update (Resolve) "propertysheets strip last char of longs"
Status Resolved, Zope/bug medium
To followup, visit:
http://collector.zope.org/Zope/303
==============================================================
= Resolve - Entry #3 by ajung on Mar 21, 2002 12:28 pm
Status: Pending => Resolved
Fixed in 2.5 branch and trunk.
-aj
________________________________________
= Comment - Entry #2 by efge on Mar 19, 2002 8:24 am
I mean, properties.dtml of course.
________________________________________
= Request - Entry #1 by efge on Mar 19, 2002 7:06 am
> <iap@y2fun.com> wrote:
> Hi, My both zope 2.5.0/Linux and 2.5.1b1/FreeBSD installation are strange:
> Say, setting a property A to be "long".
> And assign 1234 to A ,
> After submition, it comes to be "123".
Yes, I confirm that.
(FWIW the value is correctly stored but incorrectly displayed).
The bug is in OFS/dtml/properties.py, we unconditionnaly strip the last
character on display, which is bad.
==============================================================