diff --git a/CHANGES.rst b/CHANGES.rst index a1b148eb..e84c3e12 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -10,6 +10,10 @@ Changelog 1.1.0 (2015-03-21) ------------------ +- Use the more specific browser layer ``IPloneFormLayer`` for adapter + registrations. This avoids double registration errors. + [thet] + - Integrate plone.app.widgets. [vangheem] diff --git a/plone/app/z3cform/configure.zcml b/plone/app/z3cform/configure.zcml index c50e2a60..3d8f0969 100644 --- a/plone/app/z3cform/configure.zcml +++ b/plone/app/z3cform/configure.zcml @@ -28,21 +28,21 @@ @@ -59,21 +59,21 @@ provides="z3c.form.interfaces.IFieldWidget" for="zope.schema.interfaces.IList zope.schema.interfaces.ITextLine - z3c.form.interfaces.IFormLayer" + plone.app.z3cform.interfaces.IPloneFormLayer" /> + plone.app.z3cform.interfaces.IPloneFormLayer" /> + plone.app.z3cform.interfaces.IPloneFormLayer" /> + plone.app.z3cform.interfaces.IPloneFormLayer" /> + plone.app.z3cform.interfaces.IPloneFormLayer" /> + plone.app.z3cform.interfaces.IPloneFormLayer" /> + plone.app.z3cform.interfaces.IPloneFormLayer"/> + plone.app.z3cform.interfaces.IPloneFormLayer"/>