[ZCM] [ZC] 1321/ 3 Comment "SecurityInfo Conflicting security
declarations no longer include traceback"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Mon May 10 08:25:15 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 #3 by chrisw on May 10, 2004 8:25 am
Indeed. Warnings seem particularly useless for, well, warning ;-)
I know the same frustration has bugged me for years about the SearchIndex stuff. I see the warning pop up but have no idea where it's coming from so just have to ignore it.
Is there a python bug open for this anywhere?
________________________________________
= 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