From 752cd16f03d55d9346e56255a4126860c2a43731 Mon Sep 17 00:00:00 2001 From: Johannes Raggam Date: Mon, 23 Mar 2015 11:54:26 +0100 Subject: [PATCH] Revert "Revert "Use the more specific browser layer IPloneFormLayer for adapter registrations. This avoids double registration errors."" This reverts commit b61c812e8236fe8294a9059ff89ffce6a40e2a51. --- CHANGES.rst | 4 ++++ plone/app/z3cform/configure.zcml | 32 ++++++++++++++++---------------- 2 files changed, 20 insertions(+), 16 deletions(-) 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"/>