[Product-Developers] Re: [GenericSetup] infinite import_stepx.xml loop

Andreas Jung lists at zopyx.com
Tue May 13 14:30:53 UTC 2008



--On 13. Mai 2008 16:15:55 +0200 Raphael Ritz 
<r.ritz at biologie.hu-berlin.de> wrote:

> Andreas Jung wrote:
>> Hi,
>>
>> my product A has a profile with one import step within
>> its import_steps.xml. Within this step the product
>> calls installProduct() for several products..this works so far.
>>
>> However I see that the my import step handler is called again infinitely
>> when trying to install some product B (obviously defining its own
>> profile).
>>
>> Any idea how to get out of this problem?
>
> Not sure this helps here but have you defined a so-called 'flag file'
> that's checked for existence by the import step to make sure it's
> only run when installing this very product?
>

Jup, already tried with a persistent flag however this seems disappear 
between invocations :->

In-generic-setup-we-trust,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20080513/81fdf3bd/attachment.asc>


More information about the Product-Developers mailing list