Log message for revision 67187:
  Merge r67186 from 1.2 branch:
    Fix traversable bug reported by Jordan Baker 
(http://codespeak.net/pipermail/z3-five/2006q2/001309.html)
  

Changed:
  U   Products.Five/branches/1.0/traversable.py

-=-
Modified: Products.Five/branches/1.0/traversable.py
===================================================================
--- Products.Five/branches/1.0/traversable.py   2006-04-20 21:35:51 UTC (rev 
67186)
+++ Products.Five/branches/1.0/traversable.py   2006-04-20 21:40:52 UTC (rev 
67187)
@@ -63,6 +63,14 @@
                 return self.__fallback_traverse__(REQUEST, name)
             except (AttributeError, KeyError):
                 pass
+            except NotFound:
+                # OFS.Application.__bobo_traverse__ calls
+                # REQUEST.RESPONSE.notFoundError which sets the HTTP
+                # status code to 404
+                try:
+                    REQUEST.RESPONSE.setStatus(200)
+                except AttributeError:
+                    pass
         else:
             try:
                 return getattr(self, name)

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to