[Zope-dev] Bad security declarations

Florent Guillaume fg at nuxeo.com
Sun Nov 20 19:24:52 EST 2005


I've added a long-needed warning if you attempt to make a security  
declaration for a nonexistent method, usually because of typos.  
Checked in for 2.8, 2.9 and trunk.

Look carefuly for WARNING in your logs, there are already a few bad  
ones in CMF (I don't have time to fix them tonight though):

> WARNING Init Class Products.CMFCore.PortalContent.PortalContent has  
> a security declaration for nonexistent method 'manage_FTPget'
> WARNING Init Class Products.CMFSetup.tool.SetupTool has a security  
> declaration for nonexistent method 'getImportContextId'
> WARNING Init Class Products.CMFSetup.tool.SetupTool has a security  
> declaration for nonexistent method 'runAllSetupSteps'
> WARNING Init Class Products.CMFSetup.tool.SetupTool has a security  
> declaration for nonexistent method 'executeStep'

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)   Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   fg at nuxeo.com





More information about the Zope-Dev mailing list