Thanks! Good to have ZDebug back. But... it kills LoginManager, which 
uses an exception to render the login page. This patch will fix the 
problem:

--- DTMLDebug.py.old  Fri Sep 15 09:25:14 2000
+++ DTMLDebug.py        Tue Jan 30 10:45:43 2001
@@ -217,6 +217,9 @@
          elif exc_type is DTReturn:
              # Return normally.
              raise
+        elif str(exc_type) == 'LoginRequired':
+            # Don't interfere with LoginManager.
+            raise
          else:
              debugWithNamespace(section, namespace, None, info)
      finally:


Chris Withers wrote:

>The patch below got ZDebug working with Zope 2.3.0 for me. Hope I didn't
>miss anything ;-)
>
>cheers,
>
>Chris

><snip patch>

-- 
--
Itai Tavor                      -- "Je sautille, donc je suis."    --
[EMAIL PROTECTED]            --               - Kermit the Frog --
-- 'Supposing a tree fell down, Pooh, when we were underneath it?' --
-- 'Supposing it didn't,' said Pooh after careful thought.         --


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to