diff --git a/news/69.bugfix b/news/69.bugfix new file mode 100644 index 0000000..639d28b --- /dev/null +++ b/news/69.bugfix @@ -0,0 +1 @@ +Fix 'Wrong contained type' error for new blog posts with no tags created using plone.restapi. @davisagli diff --git a/src/collective/blog/behaviors/tags.py b/src/collective/blog/behaviors/tags.py index 24a36b4..1f07380 100644 --- a/src/collective/blog/behaviors/tags.py +++ b/src/collective/blog/behaviors/tags.py @@ -20,6 +20,7 @@ class IBlogTags(model.Schema): title=_("label_blog_tags", default="Tags"), value_type=schema.TextLine(), required=False, + default=(), missing_value=(), ) directives.widget(