[Zope] edit_propertiesForm traceback

Dieter Maurer dieter@handshake.de
Mon, 7 Aug 2000 20:10:03 +0200 (CEST)


Jean Jordaan writes:
 > Hi Zopers ..
 > 
 > I'm trying to get a Zclass of mine to be properly
 > catalog-aware. ....
 >
 > Everything seemed to go OK until I attempted to make 
 >   http://www.zope.org/Members/AlexR/CatalogAware/edit_props.zip
 > work for me. That gets me:
 > 
 >   <P>
 >   <STRONG>Error Type: TypeError</STRONG><BR>
 >   <STRONG>Error Value: string member test needs char left
 > operand</STRONG><BR> 
 >   ....
 >     (Object: _[select_variable])
 >   File C:\PROGRA~1\ZOPECO~1\lib\python\DocumentTemplate\DT_Util.py, line
 > 335, in eval
 >     (Object: _['sequence-item'] in getProperty(id))
 >     (Info: getProperty)

"getPropery(id)" returns a string where a sequence of
strings would be expected.

I expect you to have a misconfigured selection property somewhere.


Dieter