plone / plone.app.widgets

Integrating plone.widgets into plone
Other
7 stars 38 forks source link

widgets are replaced without package being installed #77

Closed frisi closed 9 years ago

frisi commented 9 years ago

if plone.app.widgets has been added to the instance eggs but is not installed on a plonesite, widgets get already replaced.

this results in errors and prevents people from using the package in zope instances having multiple plonesites.

maybe the patches and overrides can be selectively applied only in case the package has been installed using quickinstaller.

this is only relevant for plone4 buildouts as plone.app.widgets will be in core of plone5

davisagli commented 9 years ago

Can you be more specific about the problem? i.e. which widgets or errors? Many of the widgets are already registered for IWidgetsLayer which should only be present for a site where plone.app.widgets has been activated.

frisi commented 9 years ago

it used to happen with the tinymce widget while i was developing on the issue-72-branch. a pdb in get_tinymce_options was triggered on a fresh plone installation. however, i'm not able to reproduce this today. so it probably just has been too late.