[Zope3-Users] z3c.pagelet, z3c.layer.pagelet and error views not
working(Unauthorized)
Nylan
Nylan at gmx.net
Wed Jun 4 05:22:19 EDT 2008
Hello, I'm having a serious problem with z3c.pagelet and z3c.layer.pagelet.
I've created my own layer based on IFormLayer,IDivFormLayer,IPageletBrowserLayer.
Layer and skin work fine.
Only with PAU zope doesn't redirect to login page when Unauthorized is thrown.
Zope always displays:
--------------------------------------
URL: http://localhost:8888/manage.html
Module paste.evalexception.middleware:306 in respond
.....
Module zope.publisher.publish:130 in publish
Module zope.publisher.browser:539 in traverse
Module zope.app.publication.browser:66 in getDefaultTraversal
Unauthorized: (<z3c.pagelet.zcml.Manage object at 0x22a2f90>,
'browserDefault','zope.ManageContent')
--------------------------------------
Questions:
1. Why doesn't the redirect in the credentialsplugins challenge work?
2. The redirect doesn't work.
Why isn't zope displaying the error view registered for IUnauthorized?
I've found several similar issues:
1. http://thread.gmane.org/gmane.comp.web.zope.zope3.user/6468/focus=6469
2. http://thread.gmane.org/gmane.comp.web.zope.zope3.user/7539/focus=7544
I've checked my sources for every hint found above, without
success(z3c.layer.pagelet configure.zcml is included)
Did I include "wrong" packages?
I'll provide information as necessary.
Help greatly appreciated.
Best regards!
More information about the Zope3-users
mailing list