Open jkubaile opened 9 years ago
+1
Here's a minimal Plone 5.1 buildout that makes this all work. We need the BBB import to exclude some CMFDefault bits, the p.a.form overrides, and we need to mark the views as ITraversable so we use (un)restrictedTraverse to get to the main_template.
[buildout]
parts = instance
extends =
http://dist.plone.org/release/5.1rc2/versions.cfg
versions = versions
[instance]
recipe = plone.recipe.zope2instance
user = admin:admin
eggs =
Plone
plone.app.ldap
plone.app.form
zcml =
Products.CMFPlone:meta-bbb.zcml
plone.app.form
zcml-additional =
<include package="plone.app.form" file="overrides.zcml" />
<class class="plone.app.ldap.browser.baseform.Adding">
<implements interface="OFS.interfaces.ITraversable" />
</class>
I gave this minimal buildout a shot with Plone 5.1.5 but am getting these errors. It looks like it's trying to grab plone.app.ldap 1.4.3.
Installing client1.
Getting distribution for 'plone.app.form'.
warning: no previously-included files matching '*pyc' found anywhere in distribution
Got plone.app.form 2.3.2.
Version and requirements information containing zope.formlib:
[versions] constraint on zope.formlib: 4.0.6
Requirement of plone.app.form: zope.formlib>=4.0
Requirement of webcouturier.dropdownmenu==3.0.2: zope.formlib
Requirement of zope.formlib>=4.0: zope.datetime
Requirement of zope.formlib>=4.0: zope.traversing
Requirement of zope.formlib>=4.0: zope.security
Requirement of zope.formlib>=4.0: zope.schema>=3.5.1
Requirement of zope.formlib>=4.0: zope.publisher
Requirement of zope.formlib>=4.0: zope.lifecycleevent
Requirement of zope.formlib>=4.0: zope.interface
Requirement of zope.formlib>=4.0: zope.i18nmessageid
Requirement of zope.formlib>=4.0: zope.i18n
Requirement of zope.formlib>=4.0: zope.event
Requirement of zope.formlib>=4.0: zope.component
Requirement of zope.formlib>=4.0: zope.browserpage>=3.11.0
Requirement of zope.formlib>=4.0: zope.browser>=1.1
Requirement of zope.formlib>=4.0: pytz
Requirement of zope.formlib>=4.0: setuptools
Requirement of five.formlib: zope.formlib>=4.4
Requirement of five.formlib>=1.0.2: zope.formlib>=4.4
While:
Installing client1.
Error: The requirement ('zope.formlib>=4.4') is not allowed by your [versions] constraint (4.0.6)
Hi @tkimnguyen , I'm going through this same problem in Plone version 5.1.
Any palliative solution?
I haven't revisited this, and unfortunately I'm not recalling what I did to get around or over this (or if I just gave up).
I ended up giving up too and ended up using pas.plugins.ldap
Hi,
i am trying to use plone.app.ldap in a Plone 5 environment. Installation via buildout was fine. Quick Installing in Plone works also. But using the control panel view and adding a new server or a new schema leads in the following error:
I would suggest, that it has something todo with the formlib based forms, which are used here. It was possible to set servers and schemas via the debugger. Than the access to the users and authentication seems to work also...