Hello Christian,

Yay, shame on me.
I was the one who added the "no cache" stuff to
/src/zope/app/exception/browser/unauthorized.py.

I'm crippled here until tomorrow without SVN access, so somebody
please fix it or revert my changes.

Wednesday, January 10, 2007, 11:00:35 AM, you wrote:

CT> Hi,

CT> that one fails for me as well.

CT> I don't remember who checked this in, but I saw somebody talk about this
CT> change lately.

CT> Christian

CT> Am Mittwoch, den 10.01.2007, 10:31 +0530 schrieb Baiju M:
>> Baiju M wrote:
>> >  Hi, Can anyone verify that buildbot [1] send test failure error mails
>> >  to list? There is one test failure in Zope 3 trunk now [2]. But it's
>> >  not in Zope3-dev list archive [3].
>> >
>> >  [1] http://buildbot.zope.org [2]
>> > 
>> http://buildbot.zope.org/Zope3%20trunk%202.4%20Linux%20zc-buildbot/builds/832/test_2/0
>> >  [3] http://mail.zope.org/pipermail/zope3-dev/
>> 
>> I am still getting this error in trunk, see the traceback:
>> 
>> Failure in test 
>> /var/tmp/zopy/pkgs/Zope3trunk/src/zope/app/ftests/doctest.txt
>> Failed doctest test for doctest.txt
>>   File "/var/tmp/zopy/pkgs/Zope3trunk/src/zope/app/ftests/doctest.txt", 
>> line 0
>> 
>> ----------------------------------------------------------------------
>> File "/var/tmp/zopy/pkgs/Zope3trunk/src/zope/app/ftests/doctest.txt", 
>> line 20, in doctest.txt
>> Failed example:
>>     print http(r"""
>>     GET /@@contents.html HTTP/1.1
>>     """)
>> Differences (ndiff with -expected +actual):
>>       HTTP/1.1 401 Unauthorized
>>     + Cache-Control: no-store, no-cache, must-revalidate
>>     - Content-Length: ...
>>     ?                 ^^^
>>     + Content-Length: 3987
>>     ?                 ^^^^
>>       Content-Type: text/html;charset=utf-8
>>     + Expires: Mon, 26 Jul 1997 05:00:00 GMT
>>     + Pragma: no-cache
>>       WWW-Authenticate: basic realm="Zope"
>>       <BLANKLINE>
>>     - <!DOCTYPE html PUBLIC ...
>>     + <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
>>     + <BLANKLINE>
>>     + <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en"
>>     +       lang="en">
>>     + <BLANKLINE>
>>     +   <head>
>>     +     <title>Z3: </title>
>>     + <BLANKLINE>
>>     +     <style type="text/css" media="all">@import 
>> url(http://localhost/@@/zope3_tablelayout.css);</style>
>>     + <BLANKLINE>
>>     + <BLANKLINE>
>>     + <BLANKLINE>
>>     +     <meta http-equiv="Content-Type" 
>> content="text/html;charset=utf-8" />
>>     + <BLANKLINE>
>>     + <BLANKLINE>
>>     + <BLANKLINE>
>>     + <BLANKLINE>
>>     + <BLANKLINE>
>>     +     <!-- Basic zope3 javascript's -->
>>     +     <script type="text/javascript"
>>     +             src="http://localhost/@@/zope3.js";>
>>     +     </script>
>>     + <BLANKLINE>
>>     + <BLANKLINE>
>>     +     <!-- Ugly is better than lobotomized. -->
>>     +     <script type="text/javascript"
>>     +             src="http://localhost/@@/xmltree.js";>
>>     +     </script>
>>     + <BLANKLINE>
>>     + <BLANKLINE>
>>     + <BLANKLINE>
>>     + <BLANKLINE>
>>     + <BLANKLINE>
>>     + <BLANKLINE>
>>     + <BLANKLINE>
>>     + <BLANKLINE>
>>     + <BLANKLINE>
>>     +     <link rel="icon" type="image/png"
>>     +           href="http://localhost/@@/favicon.png"; />
>>     +   </head>
>>     + <BLANKLINE>
>>     +   <body onload="loadtree('http://localhost/', 'http://localhost/'); ">
>>     +         <table id="layout" border="0" cellspacing="0" cellpadding="0">
>>     +             <tr>
>>     +                 <td colspan="2" id="top">
>>     + <BLANKLINE>
>>     +                         <div id="global">
>>     +                             <div id="userDetails">
>>     + <BLANKLINE>
>>     +                                     User:
>>     +                                     Unauthenticated User
>>     + <BLANKLINE>
>>     + <BLANKLINE>
>>     + <BLANKLINE>
>>     +                                     <a 
>> href="@@login.html?nextURL=http%3A//localhost/%40%40contents.html">[Login]</a>
>>     + <BLANKLINE>
>>     + <BLANKLINE>
>>     +                             </div>
>>     + <BLANKLINE>
>>     +                                 <a
>>     +     href="http://localhost/@@SelectedManagementView.html";
>>     +     name="top"><img src="http://localhost/@@/zope3logo.gif"; /></a>
>>     + <BLANKLINE>
>>     +                         </div>
>>     + <BLANKLINE>
>>     +                 </td>
>>     +             </tr>
>>     +             <tr>
>>     +                 <td colspan="2">
>>     + <BLANKLINE>
>>     +                     <div id="breadcrumbs">
>>     +                         Location:&nbsp;<a
>>     +     href="http://localhost/@@SelectedManagementView.html";>[top]</a>
>>     +                              /
>>     +                     </div>
>>     + <BLANKLINE>
>>     +                 </td>
>>     +             </tr>
>>     +             <tr>
>>     +                 <td id="navigation">
>>     + <BLANKLINE>
>>     +                 <div id="navigators">
>>     +                     <!-- Navigation tree box -->
>>     + <BLANKLINE>
>>     +     <!-- Ugly is better than lobotomized. -->
>>     +       <div class="box" id="navigationTree">
>>     +         <h4>Navigation</h4>
>>     +         <div xmlns="http://www.zope.org/zope3xmltree";
>>     +              id="navtreecontents" class="body"
>>     +              onclick="treeclicked(event);">Loading...</div>
>>     +       </div>
>>     + <BLANKLINE>
>>     + <BLANKLINE>
>>     +                 </div>
>>     + <BLANKLINE>
>>     +                 </td>
>>     +                 <td id="content">
>>     +                 <div id="workspace">
>>     + <BLANKLINE>
>>     + <BLANKLINE>
>>     +                     <!-- OnlineHelp with popup support -->
>>     +                     <!-- note, we reverse the actions list 'cos 
>> they're packed to the
>>     +                              screen from the right -->
>>     + <BLANKLINE>
>>     + <BLANKLINE>
>>     +                     <div id="viewspace">
>>     +                         <div id="message">
>>     +                         </div>
>>     +                         <div id="body">
>>     +                             <div>
>>     + <BLANKLINE>
>>     + <h1>Unauthorized</h1>
>>     + <BLANKLINE>
>>     + <p>You are not authorized</p>
>>     + <BLANKLINE>
>>     + </div>
>>     +                         </div>
>>     +                         <div id="context_information">
>>     +                             <div id="helpers">
>>     + <BLANKLINE>
>>     +                             </div>
>>     +                         </div>
>>     +                         <div class="spacer">
>>     +                             &nbsp;
>>     +                         </div>
>>     +                     </div>
>>     +                 </div>
>>     +                 <div id="footer" />
>>     +                 <div id="logger" />
>>     +                 </td>
>>     +             </tr>
>>     +         </table>
>>     +   </body>
>>     + </html>
>>     + <BLANKLINE>
>>     + <BLANKLINE>
>> 
>> Regards,
>> Baiju M
>> _______________________________________________
>> Zope3-dev mailing list
>> Zope3-dev@zope.org
>> Unsub: http://mail.zope.org/mailman/options/zope3-dev/ct%40gocept.com
>> 


-- 
Best regards,
 Groszer Adam
--
Quote of the day:
There is practically nothing that men do not prefer to God. A tiresome detail 
of business, an occupation utterly pernicious to health, the employment of time 
in ways one does not dare to mention. Anything rather than God. 
- Francois de Salignac de La Mothe Fenelon 

_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to