Ticket #13544 (confirmed Bug)
prefs_install_products_form shows INonInstallable profiles.
Reported by: | thet | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 4.x |
Component: | General | Version: | 4.3 |
Keywords: | Cc: |
Description (last modified by thet) (diff)
the prefs_install_products_form control panel shows profiles, which are returned by a INonInstallable utility, but it shouldn't. the utility is registered like so (see: https://github.com/plone/plone.formwidget.datetime/blob/master/plone/formwidget/datetime/configure.zcml):
configure.zcml
<utility factory=".setuphandlers.HiddenProfiles" name="plone.formwidget.datetime" provides="Products.CMFPlone.interfaces.INonInstallable" />
setuphandlers.py
from zope.interface import implements from Products.CMFPlone.interfaces import INonInstallable class HiddenProfiles(object): implements(INonInstallable) def getNonInstallableProfiles(self): """Prevents profiles, which should not be user-installable from showing up in the profile list when creating a Plone site. plone.formwidget.datetime:default .. Without any forms actually using this packge, this it makes no sense. Packages, which use plone.formwidget.datetime, should install it's profile. """ return [u'plone.formwidget.datetime:default']
of course, since it's just a template in plone_prefs skin folder.
we need a more modern install page.
Change History
Note: See
TracTickets for help on using
tickets.
sorry, deleted comment