diff --git a/.gitignore b/.gitignore index c14b1f1..e9bb955 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.egg-info __pycache__ +venv \ No newline at end of file diff --git a/news/14.bugfix b/news/14.bugfix new file mode 100644 index 0000000..7e83ab9 --- /dev/null +++ b/news/14.bugfix @@ -0,0 +1,2 @@ +Fix Boolean Fields in ISiteSyndicationSettings, IFeedSettings, selection of true/false now possible +[1letter] \ No newline at end of file diff --git a/src/plone/base/interfaces/syndication.py b/src/plone/base/interfaces/syndication.py index 5e7d754..f15e757 100644 --- a/src/plone/base/interfaces/syndication.py +++ b/src/plone/base/interfaces/syndication.py @@ -134,6 +134,7 @@ class ISiteSyndicationSettings(Interface): title=_("Allowed"), description=_("Allow syndication for collections and folders " "on site."), default=True, + required=False ) default_enabled = schema.Bool( @@ -143,18 +144,21 @@ class ISiteSyndicationSettings(Interface): "folders and collections." ), default=False, + required=False ) search_rss_enabled = schema.Bool( title=_("Search RSS enabled"), description=_("Allows users to subscribe to feeds of search results"), default=True, + required=False ) show_author_info = schema.Bool( title=_("Show author info"), description=_("Should feeds include author information"), default=True, + required=False ) render_body = schema.Bool( @@ -165,6 +169,7 @@ class ISiteSyndicationSettings(Interface): "render it, otherwise use description.", ), default=False, + required=False ) max_items = schema.Int( @@ -209,6 +214,8 @@ class ISiteSyndicationSettings(Interface): "Makes it possible to customize syndication settings " "for particular folders and collections " ), + default=False, + required=False ) show_syndication_link = schema.Bool( @@ -216,6 +223,8 @@ class ISiteSyndicationSettings(Interface): description=_( "Enable RSS link document action on the syndication " "content item." ), + default=False, + required=False ) @@ -241,6 +250,7 @@ class IFeedSettings(Interface): "render it, otherwise use description.", ), default=False, + required=False ) max_items = schema.Int(