-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Lennart Regebro wrote:
> Not a Five problem, but a CMF problem, switching lists to [EMAIL PROTECTED] > > On 10/12/05, David Pratt <[EMAIL PROTECTED]> wrote: > >>One thing I noticed is that there is no class >>Products.CMFCore.interfaces.IWorkflowDefinition. It is >>Products.CMFCore.interfaces.WorkflowDefinition (no I in front of >>WorkflowDefinition). Perhaps this is where it is getting messed up > > > Well, if you try to access > Products.CMFCore.interfaces.IWorkflowDefinition and it doesn't exist > you would get an error, yes. :) Besides, I have the feeling it should > be Products.CMFCore.interfaces.portal_workflow.WorkflowDefinition, > unless ther e is some magic going on. And I assume that the missing I > is just a typo. > > >>but why then is it not failing for CMFSite product? > > > It probably never arrives at using this? On the trunk, the "canonical" version of the interface is Products.CMFCore.interfaces.IWorkflowDefinition (defined in interfaces/_tool.py, imported into interfaces/__init__.py); the Zope2 version, 'Products.CMFCore.interfaces.portal_workflow.WorkflowDefinition', is created via a "reverse bridge" in interfaces/__init__.py. On the 1.5 branch, the canonical version is the Zope2 one, 'Products.CMFCore.interfaces.portal_workflow.WorkflowDefinition', with the Zope3 version created via a "forward bridge" in 'bridge.zcml'. HTH (I'm missing context to know whether this was a curiosity, or whether somebody saw an actual traceback), Tres. - -- =================================================================== Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDTSDL+gerLs4ltQ4RAkZwAKDNgx5QX+4DBX+gexruGLfxUOIJegCgn3mm rLtXBcG6uEHtEdQA/xuPTEw= =1RJP -----END PGP SIGNATURE----- _______________________________________________ Zope-CMF maillist - [email protected] http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests
