From df68d4bb5be1accc48f9166640e3801d4dacae50 Mon Sep 17 00:00:00 2001 From: "Jens W. Klein" Date: Thu, 30 May 2024 16:09:59 +0200 Subject: [PATCH] pa.discussion as core-addon remove impossible values, since there never is the construction allowed of these two see vocabulary plone.app.vocabularies.PortalTypes and https://github.com/zopefoundation/Products.CMFCore/blob/8d765b8ce7ec4e053e58f5c8dc45d08db01ce3e0/src/Products/CMFCore/TypesTool.py#L768 --- src/plone/base/interfaces/controlpanel.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/plone/base/interfaces/controlpanel.py b/src/plone/base/interfaces/controlpanel.py index 73941ce..ee5e5fc 100644 --- a/src/plone/base/interfaces/controlpanel.py +++ b/src/plone/base/interfaces/controlpanel.py @@ -1015,11 +1015,7 @@ class ISearchSchema(Interface): "off here or by the relevant installer." ), required=False, - default=( - "Discussion Item", - "Plone Site", - "TempFolder", - ), + default=(), missing_value=(), value_type=schema.Choice(source="plone.app.vocabularies.PortalTypes"), )