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

TinyMCE plugin breaks the package in Plone 5 #71

Open
hvelarde opened this issue Jan 6, 2017 · 1 comment
Open

TinyMCE plugin breaks the package in Plone 5 #71

hvelarde opened this issue Jan 6, 2017 · 1 comment

Comments

@hvelarde
Copy link
Member

hvelarde commented Jan 6, 2017

When trying to start Plone with this package installed the following exception is shown:

$ bin/instance fg
2017-01-06 17:20:56 INFO ZServer HTTP server started at Fri Jan  6 17:20:56 2017
	Hostname: 0.0.0.0
	Port: 8080
/home/hvelarde/.buildout/eggs/plone.app.dexterity-2.3.2-py2.7.egg/plone/app/dexterity/__init__.py:12: DeprecationWarning: Name clash, now use '_' as usal. Will be removed in Plone 5.2
  DeprecationWarning)
/home/hvelarde/.buildout/eggs/plone.app.multilingual-4.0.3-py2.7.egg/plone/app/multilingual/browser/migrator.py:11: DeprecationWarning: LanguageRootFolder: LanguageRootFolders should be migrate to DexterityContainers
  from plone.app.multilingual.content.lrf import LanguageRootFolder
/home/hvelarde/.buildout/eggs/plone.portlet.collection-3.1-py2.7.egg/plone/portlet/collection/collection.py:2: DeprecationWarning: isDefaultPage is deprecated. Import from Products.CMFPlone instead
  from plone.app.layout.navigation.defaultpage import isDefaultPage
...
  File "/home/hvelarde/.buildout/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 179, in resolve
    mod = __import__(mname, *_import_chickens)
  File "/home/hvelarde/.buildout/eggs/Products.TinyMCE-1.4.3-py2.7.egg/Products/TinyMCE/browser/controlpanel.py", line 7, in <module>
    from plone.fieldsets.fieldsets import FormFieldsets
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/home/hvelarde/collective/sc.embedder/parts/instance/etc/site.zcml", line 16.2-16.23
    ZopeXMLConfigurationError: File "/home/hvelarde/.buildout/eggs/Products.TinyMCE-1.4.3-py2.7.egg/Products/TinyMCE/configure.zcml", line 15.2-15.32
    ZopeXMLConfigurationError: File "/home/hvelarde/.buildout/eggs/Products.TinyMCE-1.4.3-py2.7.egg/Products/TinyMCE/browser/configure.zcml", line 11.4-16.10
    ImportError: No module named fieldsets.fieldsets

this happens because Products.TinyMCE is no longer a dependency of Plone.

we need to decouple the plugin registration so we can handle it in different forms.

@hvelarde
Copy link
Member Author

hvelarde commented Jan 6, 2017

here you can find some information on how to register a TinyMCE plugin in Plone 5:

https://community.plone.org/t/writing-and-registering-a-tinymce-plugin-for-plone-5/3246?u=hvelarde

hvelarde added a commit that referenced this issue Sep 6, 2017
We need to review those features.

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

No branches or pull requests

2 participants