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

Review IDatetimeWidget dependencies for customization #747

Open
idgserpro opened this issue Aug 28, 2017 · 0 comments
Open

Review IDatetimeWidget dependencies for customization #747

idgserpro opened this issue Aug 28, 2017 · 0 comments

Comments

@idgserpro
Copy link
Member

idgserpro commented Aug 28, 2017

If you don't have plone.app.contenttypes >= 1.1.1 installed, IDatetimeWidget comes from collective.z3cform.datetimewidget.

If you have plone.app.contenttypes >= 1.1.1 installed, plone.app.event 1.1.6 is installed as well and the IDatetimeWidget comes from plone.formwidget.datetime (because plone.app.event 1.1.6 installs it).

plone.formwidget.datetime is a merge of collective.z3cform.datetimewidget and archetypes.datetimewidget (which itself was derived from collective.z3cform.datetimewidget).

From plone.app.event > 1.2, plone.formwidget.datetime is removed:

dropped. The new plone.app.widgets package implements archetypes and z3cform

This issue was opened to discuss if it's possible to use just one widget dependency for all situations in the future, avoiding all this mess. Until this is done, multiple zcml registrations in https://github.com/collective/collective.cover/blob/059fecac5688c33859700e0352aaa6d99971af05/src/collective/cover/tiles/configuration_widgets/configure.zcml#L40,L45 will be done.

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

1 participant