Hi, I'd like to intercept all errors on the site, including CMFFormController errors, portal messages (even though they may not necessarily be errors), and Site Errors.
The reason for this is that we have a C++ application that uses HTTP to upload files to Plone, but we don't want it to parse the responses looking for possible errors. We want to have a list of errors for each ZopeId/Session. The errors won't be recorded all the time, just when our C++ asks for it. For example, when the user uploads a file, but at all other times it will not be recording errors. We'll also use this error list for our XMLRPC calls that can result in Site Errors. It will help our users undersand what went wrong. Does this design sound good? Can you suggest a better one? If everything is good, I'm currently looking for a good way to catch CMFFormController errors. I've been reading the ControllerBase.py code, and I think I'll need to override setError and setErrors. I'm not convinced it's the best way, so I'd appreciate any help with this. Thanks _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
