-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have some code running unter Plone 3 and 4 using
9 <class class=".authoringconversionscollection.AuthoringConversionsCollection"> 10 <require 11 permission="zope2.View" 12 interface="..interfaces.IAuthoringConversionsCollection" 13 /> 14 </class> basically for running the code under Plone 3. Plone 4 spits out page long user warnings /Users/ajung/.buildout/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py:685: UserWarning: The set_schema option of the <require /> directive is not supported in Zope 2. Ignored for <class 'zopyx.authoring.content.authoringtemplatesfolder.AuthoringTemplatesFolder'> actions = self.handler(context, **args) Is there a straight forward way to modify the code in order to get rid of the warnings and having the code work with Plone 3 and 4? Andreas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQGUBAEBAgAGBQJMynMuAAoJEADcfz7u4AZjHooLwMAdQvy16WKvIEwBh5QvPaVc KyU7Fg87id20mEr3a1GETnAdTz4vYhmmx3fMR0/IkaU0NrL4Bzeudt3C7qm+n33E f80GOlS3RQ3h1/tqGsPOqI3PRQbpppxuQezLR74w9N7fUnXcjvSqiQhfq1kqrOTH /eIL6A9jPnMlm7jXOuEpnq/pP8RlxAb4AqZwBu5kfXrHMluB+jmsD7xaQl+0/zwR wLVW5WzdtddTd3AbdPmyOn1CklmEFAL0P/Uykd/Mt8fnJ4ZA/zmWq/kuUSbl8zZM 0jo7aQEMxwt4+QAlC2xlPLP0PZ6eLqzUzMtLM7WCsaRWnznGVbDt/eSqXSpOaXSt T5hP22LmYC1Fv66nkHltN20/SVy0a4tiwdu3lS+Vk5ehaV6ej5maBtYky21j+lgS n2T1IX/LykSBsX6wIldzOcADx2Bc+5ohnZr016gLBQMoldESHzr6H2clmal33e6Q JXst00b2rrFP3kQWPYIs0ez9lX5WzJE= =gZIy -----END PGP SIGNATURE-----
<<attachment: lists.vcf>>
_______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
