Skip to content

Commit

Permalink
Merge pull request #26 from plone/frapell-required-boolean
Browse files Browse the repository at this point in the history
Add `required=False` to missing boolean field from syndication config
  • Loading branch information
frapell authored Dec 23, 2022
2 parents c1fc6dd + 6693557 commit ab78e0a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions news/14.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Add `required=False` to missing boolean field from syndication config
[frapell]
6 changes: 5 additions & 1 deletion src/plone/base/interfaces/syndication.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,11 @@ class ISiteSyndicationSettings(Interface):

class IFeedSettings(Interface):

enabled = schema.Bool(title=_("Enabled"), default=False)
enabled = schema.Bool(
title=_("Enabled"),
default=False,
required=False
)

feed_types = schema.Tuple(
title=_("Feed Types"),
Expand Down

0 comments on commit ab78e0a

Please sign in to comment.