[Zope] ZClass view crashes on title_or_id

John Hunter jdhunter@ace.bsd.uchicago.edu
Fri, 22 Mar 2002 19:59:08 -0600


I have a Zclass which inherits from ObjectManager and have a property
sheet set on the ZClass.  I created a view associated with an
index_html method that is defined for the ZClass.  When I try to
access the view, I get a pop up window asking for authorization (which
always fails) and then when I cancel the authorization dialog I get

Error Type: Unauthorized
Error Value: You are not allowed to access title_or_id in this context

Here is index_html:

<dtml-var standard_html_header>
This is a test
<dtml-var standard_html_footer>

The problem is coming from the standard_html_header, because if I take
out the header and footer, I display 'This is a test' as plain text
without error.  I as assuming that my ZClass should have inherited
title_or_id and that something is not working right.

Can anyone advise?  I don't think this is really an authorization
problem because I am logged in as a user that has Manager and Owner
privileges in root.

Thanks,
John Hunter


Zope-2.5.2