[Zope-CMF] Re: GenericSetup extension profile import step mis-feature

Tres Seaver tseaver at palladion.com
Tue Jul 31 09:38:52 EDT 2007



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Wichert Akkerman wrote:
> Previously Martin Aspeli wrote:
>>
>>
>> yuppie-3 wrote:
>>> Hi!
>>>
>>>
>>> The proposed solution doesn't work:
>>>
>>> The ImportStepRegistry is not only used for imports - it is also used 
>>> for creating new 'import_steps.xml' files for exports.
>>>
>>> Exported profiles are always base profiles, they have to specify *all* 
>>> import handlers used for creating the site.
>>>
>> Right, that's fine. I think the current export functionality is right.
> 
> I think it's wrong :) The export functionality suffers from the same
> problen as the import functionality: the export steps defined in
> extension profiles are only used if they have been selected once.
> In other words: it is just as unpredictable.

What is unpredictable?  If you import an extension profile, its steps
(both export and import) get grafted into the effective baseline profile.

> I like Yvo's idea of make import and export registration global instead
> of per-profile.

They are "global" to the site, if I understand you.  I would *not* want
them "global" across the whole instance, because they aren't relevant
for all users of GenericSetup.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGrzts+gerLs4ltQ4RAuIaAKC7/hSWycvx+MWaKeL7E1t3a8SOqgCfabPC
FFhIkaAaqH3oytpLpDjCZAQ=
=9yFm
-----END PGP SIGNATURE-----



More information about the Zope-CMF mailing list