[z3-five] problems with views
Martijn Faassen
faassen at infrae.com
Tue Sep 14 18:48:37 MEST 2004
Martijn Faassen wrote:
> Hi there,
>
> I am getting a bunch of problems concerning the browser:page directive
> our tests are somehow not catching (anymore?). Basically, the following
> doesn't work anymore:
>
> <browser:page
> for=".interfaces.ISimpleContent"
> template="owl.pt"
> name="owl.html"
> permission="zope2.ViewManagementScreens"
> />
>
> Zope will complain about a missing docstring when you access this
> through the browser.
I just found out Zope complains about missing docstrings *no matter
what* you browse to with a traversable object, if the name doesn't
exist. This is also wrong. I've since also found views which just won't
work due to unauthorized, even when I'm manager.
None of the views registered in FiveTest seem to work. I'm really
baffled as the tests really do run.
Regards,
Martijn
More information about the z3-five
mailing list