[Product-Developers] manage_delObjects() redirecting to deletion confirmation screen

Wichert Akkerman wichert at wiggy.net
Thu Jun 16 14:12:55 UTC 2011


On 06/16/2011 03:58 PM, Andreas Jung wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
>
> Giacomo Spettoli wrote:
>
>
>> Hi,
>>     you could disable "link-integrity" check via python before using
>> manage_delObjects and re-enable after job's done.
> How would you do that? Afaik: the integrity checker is integrated
> as an event subscriber. In Produce&  Publish I am using the deletion
> API heavily for moving stuff around. Perhaps I should disable the
> integrity checks in general for such sites...causing more problems than
> it actually solves.

There is no way to disable it unfortunately, and since it's an event 
subscriber you can't even monkeypatch it away. The only approach I have 
found is using z3c.unconfigure to disable the whole thing globally.

Wichert.



More information about the Product-Developers mailing list