[Zope-dev] a long type property dosen't appear in any manage_propertiesForm

Takakazu Tamaki kaz@oceanbreeze.co.jp
Thu, 10 Jan 2002 02:51:19 +0900


Hi folks,

As mentioned in subject, it dosen't appear.
I'm not sure it's a bug or feature. :(

Could anyone give a suggestion ?

Zope-2.4.3
in lib/python/OFS/dtml/properties.dtml

--- properties.dtml.orig        Tue Mar  6 06:01:02 2001
+++ properties.dtml     Thu Jan 10 01:58:53 2002
@@ -62,7 +62,7 @@
   <dtml-elif "type == 'long'">
   <input type="text" name="<dtml-var id>:<dtml-var type>" size="35"
    value="<dtml-if "hasProperty(id)"><dtml-var
-   "('%s' % getProperty(id))[:-1]" html_quote></dtml-if>">
+   "('%s' % getProperty(id))" html_quote></dtml-if>">
   <dtml-elif "type in ('float', 'date')">
   <input type="text" name="<dtml-var id>:<dtml-var type>" size="35"
    value="<dtml-var "getProperty(id)" html_quote>">


---
kaz