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


Raphael Ritz wrote:
> On 6/16/11 2:40 PM, Andreas Jung wrote:
> Hi there,
> 
> calling manage_delObjects() from custom application code seems to
> redirect to the deletion confirmation screen in case of a possible
> link-integrity violation. This is desirable when removing an object
> from the Plone UI but it is absolutely not desirable when I remove
> objects programmatically through my own code.
> 
> Is there a way to eliminate this redirection?
> 
>> Explicitly remove all references beforehand???

Not an option - the references will remain stable since the original
document will be replaced with a new version of the content.
I am in this case smarter than Plone. Especially I don't want to be
bothered with a UI functionality while working with the backend under
the hood. I know what I am doing but Plone don't :-P

Andreas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQGUBAEBAgAGBQJN+gtVAAoJEADcfz7u4AZj07ELwOPd5nJqWkRxRG1FcY+QB3z1
yA2tsF5rQqxDQewluiUFa4HLQJg+hjko07ED0l+77CKF1+I7GkhAjN1cOu5+VJFW
49j1cw5giT1K+tTB2NruYXfTqxsq1Wp9qrhTd29pSC69G/e70iNDLI5712QVt4u9
vwBSQEEEeCZVGML4BnZc+KIgBAT3fF61tG7WsDQ3D3YIEhXv3gpk1PJ3aHUGrWXA
sDFikUE6OEyECMMXgzgh4LbRVSzX5bTmzEehWstR5lfLgPFZxq/+fYq/euvxhazu
1UP2oM28s4l63HXKkm/9+OPUUQ6e4GKt9nkCJPG/6HoWlUhFyQZyQ3h3pthGwot5
xOBPJslKnKu5d/VJ7GK+ATlEltZXafZ9dV+l+k5XypjvT5oKXmPBQsk8V+W0ck1s
T53IDkmOley4iMPaF4YZu74FImiFTM1YCqTI7aHh92iJRaPLfcwKgCHUylK38oHH
Ms19zrlrtpVumZddDmUgeVqcY0a/GSk=
=keoV
-----END PGP SIGNATURE-----

<<attachment: lists.vcf>>

_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-product-developers

Reply via email to