Ticket #11837 (closed Bug: fixed)

Opened 3 years ago

Last modified 3 years ago

plone.app.ldap 1.2.5/trunk doesn't work with Plone 4.1rc2

Reported by: davidjb Owned by: WouterVH
Priority: major Milestone: 4.1
Component: General Version:
Keywords: plone.app.ldap Plone4.1 ldap forqa patch Cc: tzicatl

Description

At present, plone.app.ldap 1.2.5 (and also with trunk) causes Zope to fail to start under Plone 4.1rc2 with this message:

zope.configuration.config.ConfigurationExecutionError: <class 'zope.component.interfaces.ComponentLookupError'>: (<InterfaceClass zope.security.interfaces.IPermission>, 'cmf.ManagePortal')
  in:
  File "/home/david/buildout/plone4-buildout/src/plone.app.ldap/plone/app/ldap/browser/configure.zcml", line 11.4-17.8
      <browser:page
        for="Products.CMFPlone.interfaces.IPloneSiteRoot"
        name="ldap-controlpanel"
        class=".controlpanel.LDAPControlPanel"
        permission="cmf.ManagePortal"
        allowed_attributes="template"
        />

As per the upgrade guide for Plone 4.1, if you add

<include package="Products.CMFCore" file="permissions.zcml" />

into the configure.zcml, this solves the issue for Plone 4.1rc2.

Attachments

plone4.1_fix.diff Download (967 bytes) - added by tzicatl 3 years ago.
plone4.1_fix.diff

Change History

Changed 3 years ago by tzicatl

plone4.1_fix.diff

comment:1 Changed 3 years ago by tzicatl

Diff is against revision 50039

comment:2 Changed 3 years ago by tzicatl

  • Keywords plone.app.ldap Plone4.1 ldap forqa patch added

comment:3 Changed 3 years ago by tzicatl

  • Priority changed from minor to major
  • Component changed from Unknown to Infrastructure
  • Milestone set to 4.1

comment:4 Changed 3 years ago by tzicatl

  • Cc tzicatl added

comment:5 Changed 3 years ago by WouterVH

  • Owner set to WouterVH
  • Status changed from new to assigned

comment:6 Changed 3 years ago by WouterVH

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed in plone.app.ldap-trunk, r50160

comment:7 Changed 22 months ago by davisagli

  • Component changed from Infrastructure to General
Note: See TracTickets for help on using tickets.