[Zope] value checker
   
    Olaf Marc Zanger
     
    olaf.zanger@soli-con.com
       
    Thu, 8 Feb 2001 18:00:53 +0100
    
    
  
hi there,
work on a zope 2.3 on suse linux 7.0
(<input type="text" name="irr_avg;integer" maxlength=5 width=5 value="">)
the value checker brings the following result if the value is left empty '(')
----------------------------------
Zope Error
            Zope has encountered an error while publishing this resource. 
            Error Type: AttributeError
            Error Value: 'None' object has no attribute '__class__'
            Troubleshooting Suggestions
                The URL may be incorrect. 
                The parameters passed to this resource may be incorrect. 
                A resource that this resource relies on may be encountering 
an error. 
            For more detailed information about the error, please refer to 
the HTML source for this page. 
            If the error persists please contact the site maintainer. Thank 
you for your patience. 
--------------------------------------
or if the value is correct ('1')
a part of the url is: 
&irr_avg%3Binteger=1
--------------------------------------
                    Zope Error
                    Zope has encountered an error while publishing this 
resource. 
                    Error Type: Bad Request
                    Error Value: ['irr_avg']
                    Troubleshooting Suggestions
                        The URL may be incorrect. 
                        The parameters passed to this resource may be 
incorrect. 
                        A resource that this resource relies on may be 
encountering an error. 
                    For more detailed information about the error, please 
refer to the HTML source for
                    this page. 
                    If the error persists please contact the site maintainer. 
Thank you for your patience. 
---------------------------------------------
i think that needs bugfixing, 
unfortunately i'm not a python programmer
thanks anyway
olaf
-- 
soli-con Engineering Zanger, Dipl.-Ing. (FH) Olaf Marc Zanger
Lorrainestrasse 23, 3013 Bern / Switzerland
fon:+41-31-332 9782, mob:+41-76-572 9782
mailto:olaf.zanger@soli-con.com, http://www.soli-con.com