[ZCM] [ZC] 1321/ 2 Comment "SecurityInfo Conflicting security
declarations no longer include traceback"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Fri May 7 10:04:03 EDT 2004
Issue #1321 Update (Comment) "SecurityInfo Conflicting security declarations no longer include traceback"
Status Pending, Zope/bug medium
To followup, visit:
http://collector.zope.org/Zope/1321
==============================================================
= Comment - Entry #2 by Caseman on May 7, 2004 10:04 am
I'm not sure what the behavior was like before, but the reason why there is no traceback is because there is no exception. Warnings are issued in the log containing both the class name and conflicting method or role names.
IMO, Zope should raise a hard exception and refuse to start in debug mode if there are security conflicts. I tried to implement this, but unfortunately, the code executed too early to import DevelopmentMode from Globals. It causes a circular import when ZConfig tries to load the zope.conf and everything falls over.
If someone has any insights on how I can access the debug-mode config setting inside of AccessControl.SecurityInfo, I will be happy to implement a fix for this.
________________________________________
= Request - Entry #1 by chrisw on May 7, 2004 8:34 am
And without the traceback, it's pretty hard to see what's causing the problem :-(
==============================================================
More information about the Zope-Collector-Monitor
mailing list