At 10:23 AM 2/19/2003, Thierry FLORAC wrote:
I don't know how to enable this specific exception traceback...
I haven't moved to product development in 2.6 yet, maybe someone else can speak to this problem. One quick way to get the same info might be to create a standard_error_message in this folder that returns error_tb.
For the rest, my two forms are handled by different methods, effectively containing different fields. But what I really don't understand is why the standard "manage_editProperties" raise an exception, while I really use only common properties types. I'd prefer if it was my custom method which would raise en error...
The error you're getting is typically the result of attempting to perform a slice or index operation on an empty string or a string which is substantially shorter than some expected length. Looking at the code, I can't see any place in the standard manage_editProperties where string slicing/indexing takes place. My guess would be that it *is* one of your methods kicking up this error. Do you do any error handling in this product? If your except block is also kicking up an error, that could be interfering with Zope's standard error handling. I'm just thinking off the top of my head here... sounds like there's going to need to be some detective work on your side. FWIW, Dylan