-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ross Patterson wrote: > Tres Seaver <[EMAIL PROTECTED]> writes: > >> Thanks! Can you please add to the PAS collector so we don't lose the patch: >> >> http://www.zope.org/Collectors/PAS > > Will do. > >> I don't understand the need for this handler, or why your overrides.zcml >> uses it for IPluginRegistry. The "normal" handers for PAS plugins are >> all in PAS itself, and the "normal" one for the registry is in >> PluginRegsitry. > > As I understand it, the PAS setup handlers expect the setup tool to be > located *inside* the acl_users folder. I taks this from the fact that > the setup handlers get the adapter that does the actual importing and > exporting with an adapter for context.getSite(). > > I wanted to be able to do PAS configuration in a setuphandler executed > inside a setup tool for a CMF *portal* for the acl_users folder > *subobject* of that portal. As such I adapt > getToolByName(context.getSite(), 'acl_users'). > > Is this incorrect?
Hmm, I guess I normally just have the PAS dumped as part of the "structure" of the site, where the normal handlers get used on the PAS as a subobject. If you want the PAS to go into a different part of the profile, then the "structure" dump needs to exclude it, and your handlers would work fine. However, still don't see why your overrides.zcml registers the handler for the IPluginRegistry. Including your export / import handers as steps should do the trick, without the funky override. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFiCTj+gerLs4ltQ4RAgqMAJ9q4VSiETp6DPqurwzxq1qMBjxFJQCgqXMl ufOmQwiPhxAVZdPTGiVQuqE= =+uGf -----END PGP SIGNATURE----- _______________________________________________ Zope-PAS mailing list Zope-PAS@zope.org http://mail.zope.org/mailman/listinfo/zope-pas