[Product-Developers] import_steps.xml of GS dependencies are ignored. Bug or feature ?

Wichert Akkerman wichert at wiggy.net
Fri Jul 4 12:58:09 UTC 2008


Previously Gilles Lenfant wrote:
> Hi,
> 
> I made a component B that depends on component A.
> 
> == B/profiles/default/metadata.xml ==
> ...
> <dependency>profile-A:default<dependency>
> ...
> ====
> 
> Component A has setup handlers stated in A/profiles/default/ 
> import_steps.xml
> Installing A only works perfectly either through quickinstaller or  
> setup tool.
> Installing B installs A steps as expected (actions.xml,  
> portlets.xml, ...) but does *not* run the python handlers of  
> import_steps.xml of A!
> 
> Did I miss something or is it a bug in GS ?

Already fixed in GenericSetup 1.4.1 which will be included in Plone
3.1.3. Overall I can strongly recommend (provided you target Plone 3.1
or later) to register your import steps using zcml instead of via
import_steps.xml.

Wichert.

-- 
Wichert Akkerman <wichert at wiggy.net>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.




More information about the Product-Developers mailing list