Skip to content

Commit

Permalink
Merge pull request #70 from collective/fix-no-tags
Browse files Browse the repository at this point in the history
Fix bug in deserializing new posts with no tags
  • Loading branch information
davisagli authored Apr 9, 2024
2 parents 6effa04 + d3a9118 commit dc30559
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions news/69.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix 'Wrong contained type' error for new blog posts with no tags created using plone.restapi. @davisagli
1 change: 1 addition & 0 deletions src/collective/blog/behaviors/tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit dc30559

Please sign in to comment.