Products.CMFPlone/master: Fix empty DX add_forms if formlib is also installed thru add

MrTango <jenkins-z4DKO/[email protected]>
Newsgroups gmane.comp.web.zope.plone.cvs
Message-ID <[email protected]>
Repository: Products.CMFPlone
Branch: refs/heads/master
Date: 2017-07-14T14:14:56+02:00
Author: MrTango (MrTango) <md-r4/[email protected]>
Commit: https://github.com/plone/Products.CMFPlone/commit/5de833c09936083443eb1d915ce95145e9c6cb12

Fix empty DX add_forms if formlib is also installed thru addon dependencies.

Files changed:
M Products/CMFPlone/meta.zcml

diff --git a/Products/CMFPlone/meta.zcml b/Products/CMFPlone/meta.zcml
index a317b7399..a4542c655 100644
--- a/Products/CMFPlone/meta.zcml
+++ b/Products/CMFPlone/meta.zcml
@@ -18,6 +18,12 @@
     <meta:provides feature="plone-5" />
     <meta:provides feature="plone-51" />
 
+    <configure zcml:condition="installed Products.CMFDefault">
+        <exclude package="Products.CMFDefault.browser" file="configure.zcml" />
+        <exclude package="Products.CMFDefault.formlib" file="configure.zcml" />
+        <exclude package="Products.CMFDefault.upgrade" file="configure.zcml" />
+    </configure>
+
     <include package="Products.CMFCore" file="meta.zcml" />
     <include package="Products.GenericSetup" file="meta.zcml" />
 



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.