Author: jmorliaguet
Date: Wed Nov  2 20:40:46 2005
New Revision: 28909

Modified:
   z3lab/cpsskins/branches/jmo-perspectives/browser/rendering/engine.py
Log:

- added some debug info if a filter is not supported

- unknown filters should not be added to the list of filters in a renderer



Modified: z3lab/cpsskins/branches/jmo-perspectives/browser/rendering/engine.py
==============================================================================
--- z3lab/cpsskins/branches/jmo-perspectives/browser/rendering/engine.py        
(original)
+++ z3lab/cpsskins/branches/jmo-perspectives/browser/rendering/engine.py        
Wed Nov  2 20:40:46 2005
@@ -323,6 +323,10 @@
                 filter = ZPTViewFilter(element, request)
                 filter.setTemplate(filter_proxy)
 
+            else:
+                logger.log(INFO, "Filter '%s' is not supported." % 
filter_proxy)
+                continue
+
             filters.append(filter)
 
         return filters
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to