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

Export/import of local utilities considered harmful #3

Open
tseaver opened this issue May 22, 2015 · 0 comments
Open

Export/import of local utilities considered harmful #3

tseaver opened this issue May 22, 2015 · 0 comments

Comments

@tseaver
Copy link
Member

tseaver commented May 22, 2015

In https://bugs.launchpad.net/zope-cmf/+bug/281216, @cjw296 reported:

For background see: http://dev.plone.org/plone/ticket/8579

Summary of the problem: You cannot re-constitute local utilities just from a dotted name:

  • the constructor may take parameters. Indeeed, imnsho, this is how utilities that require configuration should be configured.
  • the utilities may be changed after registration, as is the case with PortletType utilities.

This is with Plone 3.1.1 and associated CMF and Zope versions.

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

1 participant