Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Control panel configlet not removed after uninstall #26

Open
hvelarde opened this issue Jul 9, 2015 · 2 comments
Open

Control panel configlet not removed after uninstall #26

hvelarde opened this issue Jul 9, 2015 · 2 comments

Comments

@hvelarde
Copy link
Member

hvelarde commented Jul 9, 2015

See: https://travis-ci.org/plone/plone.app.ldap/builds/70302789

hvelarde added a commit that referenced this issue Jul 9, 2015
@hvelarde hvelarde changed the title Control panel configlet nor removed after uninstall Control panel configlet not removed after uninstall Jul 9, 2015
@adaugherity
Copy link
Member

Duplicate of #14. Not sure which to prefer since that one has the traceback and this one has the failed test skip.

@laulaz
Copy link
Member

laulaz commented Mar 31, 2020

For the record, this only works in Plone > 5.1 (plone/Products.CMFPlone@d011a51).

Control panel configlet is not removed in previous Plone versions, leading to a traceback :

Traceback (innermost last):
  Module ZPublisher.Publish, line 138, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 48, in call_object
  Module Products.GenericSetup.tool, line 570, in manage_importAllSteps
  Module Products.GenericSetup.tool, line 379, in runAllImportStepsFromProfile
   - __traceback_info__: profile-plone.app.ldap:uninstall
  Module Products.GenericSetup.tool, line 1414, in _runImportStepsFromContext
  Module Products.GenericSetup.tool, line 1226, in _doRunImportStep
   - __traceback_info__: controlpanel
  Module Products.CMFPlone.exportimport.controlpanel, line 162, in importControlPanel
  Module Products.GenericSetup.utils, line 851, in importObjects
   - __traceback_info__: portal_controlpanel
  Module Products.GenericSetup.utils, line 512, in _importBody
  Module Products.CMFPlone.exportimport.controlpanel, line 55, in _importNode
  Module Products.CMFPlone.exportimport.controlpanel, line 64, in _initProvider
  Module Products.CMFPlone.exportimport.controlpanel, line 151, in _initConfiglets
  Module Products.CMFPlone.PloneControlPanel, line 235, in addAction
ValueError: A name is required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants